Skip to content

Commit

Permalink
Merge pull request #2170 from undernewmanagement/patch-1
Browse files Browse the repository at this point in the history
Added extra explanation for require() statements
  • Loading branch information
zpao committed Sep 10, 2014
2 parents 53be390 + 9e6c442 commit 76d6481
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/09-addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ The add-ons below are in the development (unminified) version of React only:
- [`Perf`](perf.html), for measuring performance and giving you hint where to optimize.

To get the add-ons, use `react-with-addons.js` (and its minified counterpart) rather than the common `react.js`.

When using the react package from npm, just simply `require('react/addons')` instead of `require('react')` to get React with all of the addons.

0 comments on commit 76d6481

Please sign in to comment.