Skip to content

Commit c469697

Browse files
sophiebitszpao
authored andcommitted
Merge pull request #5263 from spicyj/npmreactreadme
Update addons paths in npm react README (cherry picked from commit 8aaa66c)
1 parent d8a9cd3 commit c469697

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ To use React in production mode, set the environment variable `NODE_ENV` to `pro
1414
```js
1515
var React = require('react');
1616

17-
// Addons can be accessed individually from the "addons" directory.
18-
var createFragment = require('react/addons/createFragment');
19-
var immutabilityHelpers = require('react/addons/update');
20-
var CSSTransitionGroup = require('react/addons/CSSTransitionGroup');
17+
// Addons are in separate packages:
18+
var createFragment = require('react-addons-create-fragment');
19+
var immutabilityHelpers = require('react-addons-update');
20+
var CSSTransitionGroup = require('react-addons-css-transition-group');
2121
```
2222

2323
For a complete list of addons visit the [addons documentation page](https://facebook.github.io/react/docs/addons.html).

0 commit comments

Comments
 (0)