State management is the core part of front-end development. This talk is intended for developers who want to compare various state management patterns and decide when to use what.
Contents:
Why state management is required? 1:25
Brief introduction toRedux 3:15
Benefits of Redux 5:04
Problems with Redux 6:35
Intro to Context, Providers and Consumers 9:45
The useContext hook 14:45
The useReducer hook 17:13
Example: Building a cart module using the above pattern 17:30
Advantages over Redux 26:34
Disadvantages 28:50
When to use the Context API instead of Redux 30:52
Useful links:
Slides: https://slides.com/rahulgaba/elegant-...
Original talk at HasGeek: • State management using Context APIs and Re...
Proposal: https://hasgeek.com/reactfoo/2019-del...
Twitter: / rahulgaba16
Github: https://github.com/rgabs