What State Management Library Should I Use with React?

Опубликовано: 12 Октябрь 2024
на канале: leerob
53,232
2k

Do I need to use Redux? Should I just use React Context? This video will explain the past, present, and future of state management to help you make the correct decision for your team, project, or organization.

0:00 – Introduction
0:15 – History of React
0:50 – Flux Architecture
1:05 – Redux
1:31 – UI State
1:43 – Server Caching State
3:48 – Benefits of Separate Libraries
2:51 – React Context (useState / useReducer)
3:25 — State Management Today
3:41 — State Machines
4:17 — xState Demo
4:45 — Why are there so many state management libraries!?
5:52 — Immutable State
6:25 — Immer Demo
6:49 — URL State
7:33 — Performance issues with React Context
8:02 — useSelectedContext & Future
8:21 — State Management Suggestions
9:00 – Conclusion

Links
–––––
https://leerob.io/blog/react-state-ma...

–––––
Blog: https://leerob.io/
Twitter:   / leeerob  
GitHub: https://github.com/leerob
Course: https://react2025.com/
Gear / Coding Setup: https://leerob.io/uses
VSCode Theme: Sorcerer