State Management at Scale in React & Next.js
Course on Master.dev by David Khourshid
- 4 h 51 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 33
- Lessons
- Jul 2025
- Published7 Jul 2025
About this course
Description from Master.dev
Solve challenging state management problems and build applications that reliably scale with your team. Recognize anti-patterns and learn complex state optimizations with data normalization, form data, and reducers. Refactor messy data stores to leverage an event-driven approach and dive into advanced use cases with URL parameters and syncing with external data stores.
What it covers
33 lessons
- 01
Introduction
- Introduction
- Course Overview
- 02
React State Management Anti-Patterns
- Deriving State Anti-Pattern
- useState & Redundant State Anti-Pattern
- State Anti-Pattern Exercise
- 03
AI State Modeling
- Incidental vs. Accidental Complexity
- Essential Modeling Diagrams
- Application Flow Exercise
- 04
Optimizing State Management
- Best Practices for State Optimization
- Finite States
- Combining State Exercise
- Type State Implementation
- 05
Managing FormData & Complex State
- Managing FormData with useActionState
- Converting useState to FormData
- useReducer for Complex State Logic
- State Flow with use(), Stores & Effects
- Context and State Machine Exercise
- Step-Based Approach
- 06
External State Management Libraries
- Store vs Atomic Libraries
- XState Store
- External State Management Exercise
- 07
Data Normalization
- Flattening Nested Data Structures
- Data Normalization Exercise
- Undo & Redo Events
- 08
Event-Driven vs Reactive State Management
- Avoiding Cascading Effects
- Refactor Cascading Effects Exercise
Show 2 more sections
- 09
Advanced State Management Techniques
- State Management with URL Parameters
- Server State Management with TanStack Query
- TanStack Query Exercise
- Syncing with External Stores
- useSyncExternalStore Hook Exercise
- Testing Reducers vs Testing Components
- 10
Wrapping Up
- Wrapping Up
Similar Next.js courses
Same topic, nearest in length, up to three from any one provider.
Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.