Construct Sturdy UIs with XState
Course on egghead by Isaac Mann
- 35 min
- LengthVideo runtime
- Subscription
- Price modelegghead plan
- 8
- Lessons
- 4.6
- Rating out of 525 ratings on egghead
- Dec 2019
- Published10 Dec 2019
About this course
Our applications have lots of states that they can be in. We usually remember “Loading” and “Successful”. If we’re having a particularly good day, we’ll get “Error” handled as well. But what about other states that our application can be in? Things like “Haven’t requested yet” or “The request was successful but there isn’t any data for us to show”. It’s frustrating to think you’re “done” and then an edge case shows up (and this cycle repeats at least one more time). Fed up with forgetting to handle the edge cases that appear when developing UIs, Isaac Mann started looking for a solution. The answer? State machines. In this course, Isaac will teach you how to plan and visualize your application’s states and the transitions between them through the creation of a React & XState powered Star Wars quiz app.
What it covers
- 1Introducing Construct Sturdy UIs with XState
- 2Handle http request state with XState
- 3Invoke an XState Service when Entering a State
- 4Block a State Transition with a Guard
- 5Control Transitions Order with Parallel States
- 6Communicate between State Machines in Different Components
- 7Save Previous States with a History State
- 8Execute Code when Entering and Exiting States using Activities
Similar state management courses
Same topic, nearest in length, up to three from any one provider.
Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.