Browse Source

Merge pull request #2170 from undernewmanagement/patch-1

Added extra explanation for require() statements
main
Paul O’Shannessy 10 years ago
parent
commit
c23d051e3f
  1. 2
      docs/09-addons.md

2
docs/09-addons.md

@ -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.

Loading…
Cancel
Save