Skip to content

Commit

Permalink
Remove random comment in react-dom-factories README
Browse files Browse the repository at this point in the history
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
facebook#9780
  • Loading branch information
flarnie committed Jun 7, 2017
1 parent 8fee440 commit 64fff1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dom-factories/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!'));

Expand Down

0 comments on commit 64fff1b

Please sign in to comment.