react/docs/downloads.md
Ben Alpert 92102ac31d Add info about dev vs. prod builds
Also moved the dev builds first because that's what most people will want.
2014-01-15 11:35:51 -08:00

2.4 KiB

id title layout
downloads Downloads single

Download the starter kit to get everything you need to get started with React. The starter kit includes React, the in-browser JSX transformer, and some simple example apps.

Development vs. Production Builds

We provide two versions of React: an uncompressed version for development and a minified version for production. The development version includes extra warnings about common mistakes, whereas the production version includes extra performance optimizations and strips all error messages.

If you're just starting out, make sure to use the development version.

Individual Downloads

React {{site.react_version}} (development)

The uncompressed, development version of React core with inline documentation.

<script src="http://fb.me/react-{{site.react_version}}.js"></script>

React {{site.react_version}} (production)

The compressed, production version of React core.

<script src="http://fb.me/react-{{site.react_version}}.min.js"></script>

React with Add-Ons {{site.react_version}} (development)

The uncompressed, development version of React with add-ons.

<script src="http://fb.me/react-with-addons-{{site.react_version}}.js"></script>

React with Add-Ons {{site.react_version}} (production)

The compressed, production version of React with add-ons.

<script src="http://fb.me/react-with-addons-{{site.react_version}}.min.js"></script>

JSX Transformer

The JSX transformer used to support XML syntax in JavaScript.

<script src="http://fb.me/JSXTransformer-{{site.react_version}}.js"></script>

All scripts are also available via CDNJS.

Bower

$ bower install --save react

NPM

$ npm install -g react-tools