Remove random comment in react-dom-factories README

Remove a comment saying `es6`, since this is potentially unclear. We aren't
contrasting to an es5 example here.

Thanks to @gaearon for catching this in review of
https://github.com/facebook/react/pull/9780
This commit is contained in:
Flarnie Marchan
2017-05-25 15:18:45 -07:00
parent b48b2594fa
commit b43f830101
+1 -1
View File
@@ -12,7 +12,7 @@ moved to the `react-addons-dom-factories` library.
```javascript
import ReactDOM from 'react-dom';
import DOM from 'react-addons-dom-factories'; // ES6
import DOM from 'react-addons-dom-factories';
const greeting = DOM.div({ className: 'greeting' }, DOM.p(null, 'Hello, world!'));