Merge pull request #2170 from undernewmanagement/patch-1

Added extra explanation for require() statements
This commit is contained in:
Paul O’Shannessy committed 2014-09-10 13:21:47 -07:00
commit 76d64812e1
1 file changed
+2
+2
View File
@@ -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.