@samitouri / QOS-React-2 / commits / 8963118b3c

Update react-dom README

Dan Abramov committed Sep 6, 2018 at 15:27 UTC 8963118b3c0d29b6b7428189ff4a0ba58bc2d1c4
1 file changed +4 -7
packages/react/README.md
+4 -7
@@ -1,13 +1,10 @@
1 -# react
1 +# `react`
2
3 -An npm package to get you immediate access to [React](https://reactjs.org/),
4 -without also requiring the JSX transformer. This is especially useful for cases where you
5 -want to [`browserify`](https://github.com/substack/node-browserify) your module using
6 -`React`.
3 +React is a JavaScript library for creating user interfaces.
4
8 -**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.
5 +The `react` package contains only the functionality necessary to define React components. It is typically used together with a React renderer like `react-dom` for the web, or `react-native` for the native environments.
6
10 -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.
7 +**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. Don't forget to use the [production build](https://reactjs.org/docs/optimizing-performance.html#use-the-production-build) when deploying your application.
8
9 ## Example Usage
10