This project was bootstrapped with Create React App.
- Clone this repository
cd
into directory- Run
npm install
oryarn install
in terminal/command prompt - Run
npm run start
oryarn start
to start app in the development mode - Open http://localhost:3000 to view it in the browser.
Note: All this point are based on my own opinion from some reference!
1. Reusable Component
React implement Composition Model Patterns
2. Virtual DOM
3. One-way data flow (one-way binding)
In React, data flows in one direction, from Parent to Child. This helps components to be simple and predictable.
4. Create React element easier with JSX
JSX is just a nice syntactic sugar over function calls that create DOM elements. JSX produces React "element"
JSX elements => React.createElement()
5. Explicit Mutation
6. Great Developer Tools
7. Just Javascript :)
Start learning React = Learning Javascript in the right way
WebpackBabel- React
ReduxReact-Router
Yeap, just React, focus on React itself. (understanding ES6 features is + )
Every section is separated with a branch. feel free to check out the different branches on this repository.