State Machines in JavaScript with XState, v2
Course on Master.dev by David Khourshid
- 4 h 8 min
- LengthVideo runtime
- Subscription
- Price modelMaster.dev plan
- 42
- Lessons
- Dec 2021
- Published21 Dec 2021
About this course
Description from Master.dev
If you build large JavaScript apps and want to stop running into weird edge cases, you'll want to learn state machines! Learn to model your app with clear and robust app logic with state machines and statecharts. You'll build state machines without any libraries in pure JavaScript, then use XState to take advantage of a wide variety of other features.
What it covers
42 lessons
- 01
Introduction
- Introduction
- 02
Software Modeling
- Software Modeling
- State Machine in Vanilla JavaScript
- State Modeling Exercise
- State Modeling Solution
- State Machines Q&A
- 03
XState
- Getting Set Up with XState
- State Transitions Exercise
- State Transitions Solution
- 04
Actions
- Actions
- Actions Exercise
- Actions Solution
- Actions Q&A
- 05
Context
- Context
- Context Exercise
- Context Solution
- 06
Guards
- Guards
- Guarded Transitions Exercise
- Guarded Transitions Solution
- 07
Compound States
- Compound States
- Compound States Exercise
- Compound States Solution
- 08
Parallel States
- Parallel States
- Parallel States Exercise
- Parallel States Solution
- Parallel States Q&A
Show 4 more sections
- 09
Final States
- Final States
- Final States Exercise
- Final States Solution
- Final States Q&A
- 10
History States
- History States
- History States Exercise
- History States Solution
- History States Q&A
- 11
Actor Model
- Actor Model Overview
- Actor Model in Vanilla JavaScript
- Ways to Invoke an Actor
- Actor Model Exercise
- Actor Model Solution
- Actor Model Q&A
- Testing
- 12
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.