Saturday, October 29, 2016

starting with reactjs

It might be a good idea to learn these concepts from ES6 first.

Arrow functions

The recommended way to start developing a new ReactJS project is to use the npm module create-react-app

To install create-react-app
npm install -g create-react-app

To create a new project
create-react-app hello-world

cd hello-world

npm start

To start making changes, edit the src/App.js file.

create-react-app uses webpack, babel and ESLint under the hood. Need to check them out some day soon.

No comments: