State Modeling in React with XState
Course on Master.dev by David Khourshid
- 4 h
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 35
- Lessons
- Dec 2020
- Published29 Dec 2020
About this course
Description from Master.dev
XState helps you manage both local and global component states in React. In this course, we'll be learning to model state before we code using state machines and statecharts and then use those in our app to orchestrate complex app logic. We'll also be visualizing or machines in real-time and learning to use model-based testing.
What it covers
35 lessons
- 01
Introduction
- Introduction
- 02
State Machines
- Component State in React
- Diagramming a State Machine
- Refactoring with useReducer
- Using a Machine Object
- State Machine Exercise
- State Machine Solution
- 03
XState Machines
- Refactoring to XState useMachine
- Using XState Exercise
- Using XState Solution
- Extended State
- Context Exercise
- Context Solution
- Parameterizing Actions
- Parameterizing Actions Exercise
- Parameterizing Actions Solution
- Integrating 3rd Party Libraries
- 04
Transitions
- Guarded Transitions
- Guarded Transitions Exercise
- Guarded Transitions Solution
- Eventless Transitions
- Eventless Transitions Exercise
- Eventless Transitions Solution
- 05
State Types
- Shared States with useService
- Hierarchical States
- Hierarchical States Exercise
- Hierarchical States Solution
- 06
Actors
- Invoking Actors
- Invoking Actors Exercise
- Invoking Actors Solution
- Spawning Actors
- Spawning Actors Exercise
- Spawning Actors Solution
- Model-Based Testing
- 07
Wrapping Up
- Wrapping Up
Similar state management 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.