Added extra explanation for require() statements
Mark Anderson committed
Sep 9, 2014 at 14:39 UTC
e8e50986c58c9f32a3ae0d1005748ac7db33f01f
1 file changed
+2
docs/docs/09-addons.md
+2
@@ -21,3 +21,5 @@ The add-ons below are in the development (unminified) version of React only:
21
- [`Perf`](perf.html), for measuring performance and giving you hint where to optimize.
22
23
To get the add-ons, use `react-with-addons.js` (and its minified counterpart) rather than the common `react.js`.
24
+
25
+If using require in node, then use `require('react/addons')`.