You get a bonus - 1 coin for daily activity. Now you have 1 coin

What is CRA and what are its benefits? in REACT

Practice



The

create-react-app
CLI tool lets you quickly create and run React applications with no configuration step.

Let's create a Todo application using CRA :

# Installation
$ npm install -g create-react-app

# Create new project
$ create-react-app todo-app
$ cd todo-app

# Build, test and run
$ npm run build
$ npm run test
$ npm start

It includes everything we need to build a React application:

  1. Support for React, JSX, ES6 and Flow syntax.
  2. Language extras beyond ES6, such as the object spread operator.
  3. Autoprefixed CSS, so you don't need -webkit- or other prefixes.
  4. A fast interactive test runner with built-in support for coverage reports.
  5. A live development server that warns about common mistakes.
  6. A build script that bundles JS, CSS and images for production, with hashes and source maps.

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Scripting client side JavaScript, jqvery, BackBone"

Terms: Scripting client side JavaScript, jqvery, BackBone