mirror of
https://github.com/facebook/react.git
synced 2026-02-25 05:03:03 +00:00
We're not actually building this entry point. I can't think of a reason we'd need to fork the isomorphic one. We don't really fork it for anything since it's so generic to work with all renderers. Since /profiling doesn't have this, it might confuse the story if we made people alias two things for testing but not profiling.
react
React is a JavaScript library for creating user interfaces.
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.
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 when deploying your application.
Example Usage
var React = require('react');