Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/downloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ React.renderComponent(...);

If you'd like to use any [add-ons](/react/docs/addons.html), use `var React = require('react/addons');` instead.

**Note:** by default, React will be in development mode. To use React in production mode, set the environment variable `NODE_ENV` to `production`. A minifier that performs dead-code elimination such as [UglifyJS](https://github.com/mishoo/UglifyJS2) is recommended to completely remove the extra code present in development mode.

## Bower

```sh
Expand Down
3 changes: 3 additions & 0 deletions npm-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ without also requiring the JSX transformer. This is especially useful for cases
want to [`browserify`](https://github.com/substack/node-browserify) your module using
`React`.

**Note:** by default, React will be in development mode. The development version includes extra warnings about common mistakes, whereas the production version includes extra performance optimizations and strips all error messages.

To use React in production mode, set the environment variable `NODE_ENV` to `production`. A minifier that performs dead-code elimination such as [UglifyJS](https://github.com/mishoo/UglifyJS2) is recommended to completely remove the extra code present in development mode.

## Example Usage

Expand Down