Introduction
Choosing the right state management solution
()
Setting up your environment
()
The state management landscape today
()
1. Existing Solutions in React
Avoid prematurely adding state management packages
()
The power of setState()
()
Data fetching only using React
()
Avoiding the pitfall of prop drilling
()
Defining Context
()
Using the Context API
()
Implementing Hooks
()
React Hooks: Refactoring
()
2. The Evolution of State Management
The Flux wars: The beginnings of Redux
()
You don't need Redux
()
Redux feature
()
Redux feature container
()
3. The Benefits of Using Redux
Immutability out of the box
()
Benefits of Redux middleware
()
Where state should live in your components
()
Debugging with Redux
()
4. React and Redux Alternatives
MobX: The object-oriented approach to state management
()
Apollo Link State: Integrating state management with GraphQL
()
Ex_Files_React_State_Management.zip
(621 KB)