Create React App

Create React App

  • Getting started
  • Help
  • GitHub
Project Logo

Create React AppCreate React apps with no build configuration.

Get started
Documentation

One dependency

There is just one build dependency. It uses Webpack, Babel, ESLint, and other amazing projects, but provides a cohesive curated experience on top of them.

No configuration required

You don't need to configure anything. Reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.

No lock-in

You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.

Get started coding in a matter of seconds!

With Create React App, you get to focus on writing React, not boilerplate. All you need to do is run a command, install some dependencies, and decide what's for dinner.

      npx create-react-app my-app

Easy-to-maintain toolchain

Keeping a build toolchain up to date with the latest and greatest can be a daunting and time-consuming task for even the most seasoned developer. Create React App extracts all of those concerns into a single dependency, which are easy to update and battle tested by thousands

    npm install react-scripts@latest

Webpack 4

Webpack 4 gives you lightning fast rebuilds and code-splitting out of the box

Babel 7

Babel 7 transpiles your code faster than ever, now with support for the new Fragment syntax </>

ES2015+

Create React App is set up for you to use the features of the future

Jest

The best test runner in the business is set up for you by default

Dev-server

No-hassle local development thanks to the built-in dev-server

PostCSS

Prefixing of new CSS features are done for you through Autoprefixer

SASS

Now you can write your styles with the power of SASS

CSS Modules

CSS Modules are also supported out of the box

Babel Macros

Need some extra Babel-power? Babel Macros gives you just that!

SVGs in React

Now you can import your SVGs and use them as React components

Progressive Web Apps

Every app created by Create React App is a fully Lighthouse-compliant PWA - opt in.

Great DX

Create React App is made for you - the developer. And we've made your day-to-day so much better

Create React App
Docs
Getting StartedDocumentation
Community
Stack OverflowSpectrumTwitter
More
GitHubStar
Facebook Open Source
Copyright © 2018 Facebook Inc.