- Refactor the original webapp that makes use of classes by the functional approach of hooks to understand the differences between then.
- Changing Class to Function
- Removing all
this
and using variable directly. - Changing
state
foruseState
- Changing lifecycle (componentDidMount, componentWillUnmount and others) to
useEffect
- Changing
setState
for the method used inuseState
- Applying Context API to the project
To test the project locally: git clone
+ npm install
+ npm start