@rahulgaba16 → ReactFoo-VueDay Pune 2020
UX Engineer @ Google
@rahulgaba16 → ReactFoo-VueDay Pune 2020
Why state management?
Benefits of redux
Problems with redux
Context, Providers and Consumers
The useReducer Hook
Benefits of Context API + Hooks
When to use what?
Have module level "stores" (Chunking)
Use reducer only if you feel it's necessary.
Very easy to move logic from a component to a Provider.
Incremental, composite way of doing things.
@rahulgaba16 → ReactFoo-VueDay Pune 2020