` tag to mark the spot where you want to display something with React. For example:
+
+```html{3}
+
+
+
+
+
+```
+
+We gave this `
` a unique `id` HTML attribute. This will allow us to find it from the JavaScript code later and display a React component inside of it.
+
+>Tip
+>
+>You can place a "container" `
` like this **anywhere** inside the `` tag. You may have as many independent DOM containers on one page as you need. They are usually empty -- React will replace any existing content inside DOM containers.
+
+### Step 2: Add the Script Tags {#step-2-add-the-script-tags}
+
+Next, add three `
+
+
+
+
+
+
+```
+
+The first two tags load React. The third one will load your component code.
+
+### Step 3: Create a React Component {#step-3-create-a-react-component}
+
+Create a file called `like_button.js` next to your HTML page.
+
+Open **[this starter code](https://gist.github.com/gaearon/0b180827c190fe4fd98b4c7f570ea4a8/raw/b9157ce933c79a4559d2aa9ff3372668cce48de7/LikeButton.js)** and paste it into the file you created.
+
+>Tip
+>
+>This code defines a React component called `LikeButton`. Don't worry if you don't understand it yet -- we'll cover the building blocks of React later in our [hands-on tutorial](/tutorial/tutorial.html) and [main concepts guide](/docs/hello-world.html). For now, let's just get it showing on the screen!
+
+After **[the starter code](https://gist.github.com/gaearon/0b180827c190fe4fd98b4c7f570ea4a8/raw/b9157ce933c79a4559d2aa9ff3372668cce48de7/LikeButton.js)**, add two lines to the bottom of `like_button.js`:
+
+```js{3,4}
+// ... the starter code you pasted ...
+
+const domContainer = document.querySelector('#like_button_container');
+ReactDOM.render(e(LikeButton), domContainer);
+```
+
+These two lines of code find the `
` we added to our HTML in the first step, and then display our "Like" button React component inside of it.
+
+### That's It! {#thats-it}
+
+There is no step four. **You have just added the first React component to your website.**
+
+Check out the next sections for more tips on integrating React.
+
+**[View the full example source code](https://gist.github.com/gaearon/6668a1f6986742109c00a581ce704605)**
+
+**[Download the full example (2KB zipped)](https://gist.github.com/gaearon/6668a1f6986742109c00a581ce704605/archive/f6c882b6ae18bde42dcf6fdb751aae93495a2275.zip)**
+
+### Tip: Reuse a Component {#tip-reuse-a-component}
+
+Commonly, you might want to display React components in multiple places on the HTML page. Here is an example that displays the "Like" button three times and passes some data to it:
+
+[View the full example source code](https://gist.github.com/gaearon/faa67b76a6c47adbab04f739cba7ceda)
+
+[Download the full example (2KB zipped)](https://gist.github.com/gaearon/faa67b76a6c47adbab04f739cba7ceda/archive/9d0dd0ee941fea05fd1357502e5aa348abb84c12.zip)
+
+>Note
+>
+>This strategy is mostly useful while React-powered parts of the page are isolated from each other. Inside React code, it's easier to use [component composition](/docs/components-and-props.html#composing-components) instead.
+
+### Tip: Minify JavaScript for Production {#tip-minify-javascript-for-production}
+
+Before deploying your website to production, be mindful that unminified JavaScript can significantly slow down the page for your users.
+
+If you already minify the application scripts, **your site will be production-ready** if you ensure that the deployed HTML loads the versions of React ending in `production.min.js`:
+
+```js
+
+
+```
+
+If you don't have a minification step for your scripts, [here's one way to set it up](https://gist.github.com/gaearon/42a2ffa41b8319948f9be4076286e1f3).
+
+## Optional: Try React with JSX {#optional-try-react-with-jsx}
+
+In the examples above, we only relied on features that are natively supported by the browsers. This is why we used a JavaScript function call to tell React what to display:
+
+```js
+const e = React.createElement;
+
+// Display a "Like"
+return e(
+ 'button',
+ { onClick: () => this.setState({ liked: true }) },
+ 'Like'
+);
+```
+
+However, React also offers an option to use [JSX](/docs/introducing-jsx.html) instead:
+
+```js
+// Display a "Like"
+return (
+ this.setState({ liked: true })}>
+ Like
+
+);
+```
+
+These two code snippets are equivalent. While **JSX is [completely optional](/docs/react-without-jsx.html)**, many people find it helpful for writing UI code -- both with React and with other libraries.
+
+You can play with JSX using [this online converter](https://babeljs.io/en/repl#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=DwIwrgLhD2B2AEcDCAbAlgYwNYF4DeAFAJTw4B88EAFmgM4B0tAphAMoQCGETBe86WJgBMAXJQBOYJvAC-RGWQBQ8FfAAyaQYuAB6cFDhkgA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=false&sourceType=module&lineWrap=true&presets=es2015%2Creact%2Cstage-2&prettier=false&targets=&version=7.4.3).
+
+### Quickly Try JSX {#quickly-try-jsx}
+
+The quickest way to try JSX in your project is to add this `
+```
+
+Now you can use JSX in any `
+```
+
+The add-ons will be available via the `React.addons` global (e.g. `React.addons.TestUtils`).
diff --git a/cdn-links.md b/cdn-links.md
new file mode 100644
index 000000000..73e3e8171
--- /dev/null
+++ b/cdn-links.md
@@ -0,0 +1,37 @@
+---
+id: cdn-links
+title: CDN Links
+permalink: docs/cdn-links.html
+prev: create-a-new-react-app.html
+next: hello-world.html
+---
+
+Both React and ReactDOM are available over a CDN.
+
+```html
+
+
+```
+
+The versions above are only meant for development, and are not suitable for production. Minified and optimized production versions of React are available at:
+
+```html
+
+
+```
+
+To load a specific version of `react` and `react-dom`, replace `16` with the version number.
+
+### Why the `crossorigin` Attribute? {#why-the-crossorigin-attribute}
+
+If you serve React from a CDN, we recommend to keep the [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute set:
+
+```html
+
+```
+
+We also recommend to verify that the CDN you are using sets the `Access-Control-Allow-Origin: *` HTTP header:
+
+
+
+This enables a better [error handling experience](/blog/2017/07/26/error-handling-in-react-16.html) in React 16 and later.
diff --git a/code-splitting.md b/code-splitting.md
new file mode 100644
index 000000000..9d1101cdc
--- /dev/null
+++ b/code-splitting.md
@@ -0,0 +1,250 @@
+---
+id: code-splitting
+title: Code-Splitting
+permalink: docs/code-splitting.html
+---
+
+## Bundling {#bundling}
+
+Most React apps will have their files "bundled" using tools like
+[Webpack](https://webpack.js.org/), [Rollup](https://rollupjs.org/) or
+[Browserify](http://browserify.org/).
+Bundling is the process of following imported files and merging them into a
+single file: a "bundle". This bundle can then be included on a webpage to load
+an entire app at once.
+
+#### Example {#example}
+
+**App:**
+
+```js
+// app.js
+import { add } from './math.js';
+
+console.log(add(16, 26)); // 42
+```
+
+```js
+// math.js
+export function add(a, b) {
+ return a + b;
+}
+```
+
+**Bundle:**
+
+```js
+function add(a, b) {
+ return a + b;
+}
+
+console.log(add(16, 26)); // 42
+```
+
+> Note:
+>
+> Your bundles will end up looking a lot different than this.
+
+If you're using [Create React App](https://github.com/facebookincubator/create-react-app), [Next.js](https://github.com/zeit/next.js/), [Gatsby](https://www.gatsbyjs.org/), or a similar tool, you will have a Webpack setup out of the box to bundle your
+app.
+
+If you aren't, you'll need to setup bundling yourself. For example, see the
+[Installation](https://webpack.js.org/guides/installation/) and
+[Getting Started](https://webpack.js.org/guides/getting-started/) guides on the
+Webpack docs.
+
+## Code Splitting {#code-splitting}
+
+Bundling is great, but as your app grows, your bundle will grow too. Especially
+if you are including large third-party libraries. You need to keep an eye on
+the code you are including in your bundle so that you don't accidentally make
+it so large that your app takes a long time to load.
+
+To avoid winding up with a large bundle, it's good to get ahead of the problem
+and start "splitting" your bundle.
+Code-Splitting is a feature
+supported by bundlers like [Webpack](https://webpack.js.org/guides/code-splitting/), [Rollup](https://rollupjs.org/guide/en/#code-splitting) and Browserify (via
+[factor-bundle](https://github.com/browserify/factor-bundle)) which can create
+multiple bundles that can be dynamically loaded at runtime.
+
+Code-splitting your app can help you "lazy-load" just the things that are
+currently needed by the user, which can dramatically improve the performance of
+your app. While you haven't reduced the overall amount of code in your app,
+you've avoided loading code that the user may never need, and reduced the amount
+of code needed during the initial load.
+
+## `import()` {#import}
+
+The best way to introduce code-splitting into your app is through the dynamic
+`import()` syntax.
+
+**Before:**
+
+```js
+import { add } from './math';
+
+console.log(add(16, 26));
+```
+
+**After:**
+
+```js
+import("./math").then(math => {
+ console.log(math.add(16, 26));
+});
+```
+
+> Note:
+>
+> The dynamic `import()` syntax is a ECMAScript (JavaScript)
+> [proposal](https://github.com/tc39/proposal-dynamic-import) not currently
+> part of the language standard. It is expected to be accepted in the
+> near future.
+
+When Webpack comes across this syntax, it automatically starts code-splitting
+your app. If you're using Create React App, this is already configured for you
+and you can [start using it](https://facebook.github.io/create-react-app/docs/code-splitting) immediately. It's also supported
+out of the box in [Next.js](https://github.com/zeit/next.js/#dynamic-import).
+
+If you're setting up Webpack yourself, you'll probably want to read Webpack's
+[guide on code splitting](https://webpack.js.org/guides/code-splitting/). Your Webpack config should look vaguely [like this](https://gist.github.com/gaearon/ca6e803f5c604d37468b0091d9959269).
+
+When using [Babel](https://babeljs.io/), you'll need to make sure that Babel can
+parse the dynamic import syntax but is not transforming it. For that you will need [babel-plugin-syntax-dynamic-import](https://yarnpkg.com/en/package/babel-plugin-syntax-dynamic-import).
+
+## `React.lazy` {#reactlazy}
+
+> Note:
+>
+> `React.lazy` and Suspense are not yet available for server-side rendering. If you want to do code-splitting in a server rendered app, we recommend [Loadable Components](https://github.com/smooth-code/loadable-components). It has a nice [guide for bundle splitting with server-side rendering](https://github.com/smooth-code/loadable-components/blob/master/packages/server/README.md).
+
+The `React.lazy` function lets you render a dynamic import as a regular component.
+
+**Before:**
+
+```js
+import OtherComponent from './OtherComponent';
+```
+
+**After:**
+
+```js
+const OtherComponent = React.lazy(() => import('./OtherComponent'));
+```
+
+This will automatically load the bundle containing the `OtherComponent` when this component is first rendered.
+
+`React.lazy` takes a function that must call a dynamic `import()`. This must return a `Promise` which resolves to a module with a `default` export containing a React component.
+
+The lazy component should then be rendered inside a `Suspense` component, which allows us to show some fallback content (such as a loading indicator) while we're waiting for the lazy component to load.
+
+```js
+const OtherComponent = React.lazy(() => import('./OtherComponent'));
+
+function MyComponent() {
+ return (
+
+ Loading...
}>
+
+
+
+ );
+}
+```
+
+The `fallback` prop accepts any React elements that you want to render while waiting for the component to load. You can place the `Suspense` component anywhere above the lazy component. You can even wrap multiple lazy components with a single `Suspense` component.
+
+```js
+const OtherComponent = React.lazy(() => import('./OtherComponent'));
+const AnotherComponent = React.lazy(() => import('./AnotherComponent'));
+
+function MyComponent() {
+ return (
+
+ Loading...
}>
+
+
+
+ );
+}
+```
+
+### Error boundaries {#error-boundaries}
+
+If the other module fails to load (for example, due to network failure), it will trigger an error. You can handle these errors to show a nice user experience and manage recovery with [Error Boundaries](/docs/error-boundaries.html). Once you've created your Error Boundary, you can use it anywhere above your lazy components to display an error state when there's a network error.
+
+```js
+import MyErrorBoundary from './MyErrorBoundary';
+const OtherComponent = React.lazy(() => import('./OtherComponent'));
+const AnotherComponent = React.lazy(() => import('./AnotherComponent'));
+
+const MyComponent = () => (
+
+
+ Loading...
}>
+
+
+
+
+);
+```
+
+## Route-based code splitting {#route-based-code-splitting}
+
+Deciding where in your app to introduce code splitting can be a bit tricky. You
+want to make sure you choose places that will split bundles evenly, but won't
+disrupt the user experience.
+
+A good place to start is with routes. Most people on the web are used to
+page transitions taking some amount of time to load. You also tend to be
+re-rendering the entire page at once so your users are unlikely to be
+interacting with other elements on the page at the same time.
+
+Here's an example of how to setup route-based code splitting into your app using
+libraries like [React Router](https://reacttraining.com/react-router/) with `React.lazy`.
+
+```js
+import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
+import React, { Suspense, lazy } from 'react';
+
+const Home = lazy(() => import('./routes/Home'));
+const About = lazy(() => import('./routes/About'));
+
+const App = () => (
+
+ Loading... }>
+