This very simple repository will allow you to understand the basics of React.js.
-
The creation of our first component : CustomerList
- use of a separate component
- map on an array
- use of local state
-
Events
- button onClick
-
Modify the state and see the component react
- The use of this.setState() on a counter
- .slice & .findIndex
- Form: adding and deleting
-
Refactoring
- spread operator
- division / separation of components
- props / communication between components
-
Functional components
- Customer component transformation that does not require state management
-
- Observe on Github via the different commit
-
- Clone this repo
- make the following commands in your terminal (at the root of the folder):
- yarn
- yarn start
"prop-types" "react" "react-dom" "axios" "classnames" "react-redux" "redux"