@samitouri / QOS-React-2 / commits / 766db4d342

Update Reference-readme to remove React.DOM (#10999)

`React.DOM` is now Undefined in React 16 so `React.DOM.div` or `React.DOM.button` are no longer possible.

Greg Myers committed Oct 1, 2017 at 11:53 UTC 766db4d342791b7e620c005a1f86602827652087
1 file changed -2
docs/docs/reference-react.md
-2
@@ -90,8 +90,6 @@ React.createElement(
90
91 Create and return a new [React element](/docs/rendering-elements.html) of the given type. The type argument can be either a tag name string (such as `'div'` or `'span'`), or a [React component](/docs/components-and-props.html) type (a class or a function).
92
93 -Convenience wrappers around `React.createElement()` for DOM components are provided by `React.DOM`. For example, `React.DOM.a(...)` is a convenience wrapper for `React.createElement('a', ...)`. They are considered legacy, and we encourage you to either use JSX or use `React.createElement()` directly instead.
94 -
93 Code written with [JSX](/docs/introducing-jsx.html) will be converted to use `React.createElement()`. You will not typically invoke `React.createElement()` directly if you are using JSX. See [React Without JSX](/docs/react-without-jsx.html) to learn more.
94
95 * * *