Learn-More-About-React-Router-Dom-V6
The purpose this application is to learn more about React Router Dom V6 and it's features.
You can use this application here: https://learn-more-about-react-router-dom-v6.vercel.app/
Learnings
-
useState and setState are async functions ⭐
- If you need last state for anything, use in class components the second parameter of setState and put a callback function or if you had using useState, put useEffect hook for to pass value updated.
-
If the name of atribute and value for the same in an object javascript, you can use only one name. setState({filter: filter}) --> setState({filter}) ⭐
How to use this application?
Install all dependencies
yarn install
Run application
yarn start