Today we will learn how to use redux using hooks because hook functions are awesome. They are easy to use and as well as easy to understand. Using redux in a class based component system was also very confusing and requires a long learning curve as well thats where hook shines!
This is a beginners course for learning how to use redux with react hooks.
Today we will learn how to use useSelector hook function to fetch from the state of redux store. We will learn how to use useDispatch hook function to dispatch an action function. As well as how to use shallowEqual hook function to optimize render times of a component.
🖥 React Hook Tutorial with State and Component Lifecycle Management:
https://www.youtube.com/watch?v=AFzLarIcHgE
🖥 Redux with React tutorial:
https://www.youtube.com/watch?v=kothp4eJfqg
💻 Code repository for this video:
https://github.com/rakibtg/Redux-with-react-hooks-tutorial
ï¼ Follow me on twitter:
https://twitter.com/rakibtg
If you have any questions regarding todays topic please let me know in the comments section.
Subscribe to my channel for future videos :)
12 Comments