Skip to content
JS

Construct Sturdy UIs with XState

Course on egghead by Isaac Mann

View on egghead (opens in a new tab)
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

Description from egghead

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

8 lessons
  1. 1Introducing Construct Sturdy UIs with XState
  2. 2Handle http request state with XState
  3. 3Invoke an XState Service when Entering a State
  4. 4Block a State Transition with a Guard
  5. 5Control Transitions Order with Parallel States
  6. 6Communicate between State Machines in Different Components
  7. 7Save Previous States with a History State
  8. 8Execute Code when Entering and Exiting States using Activities

Similar state management courses

  1. Build Redux Style Applications with Angular, RxJS, and ngrx/store

    egghead · John Lindquist · 16 lessons · 4.3 from 7 ratings · Apr 2016

    41 minSubscription
    egghead164.3 (7)Apr 2016
  2. Manage Complex State in React Apps with MobX

    egghead · Michel Weststrate · 9 lessons · 4.1 from 13 ratings · Jul 2016

    28 minFree
    egghead94.1 (13)Jul 2016
  3. Develop React Applications with Mobx and TypeScript

    egghead · Basarat Ali Syed · 7 lessons · 4.2 from 18 ratings · Jan 2019

    25 minSubscription
    egghead74.2 (18)Jan 2019
  4. Learn Redux: Redux Toolkit

    Codecademy · 1 lessons · Dec 2022

    Beginner1 h
    Codecademy1Dec 2022
  5. Beginner2 h
    Codecademy1Dec 2022
  6. Reactive Angular with NgRx

    Master.dev · Lukas Ruebbelke · 24 lessons · Jan 2019

    3 h 14 minSubscription
    Master.dev24Jan 2019
  7. Vuex for Intermediate Vue 2 Developers

    Master.dev · Divya S · 48 lessons · Aug 2020

    3 h 15 minSubscription
    Master.dev48Aug 2020
  8. Advanced Redux with Redux Toolkit

    Master.dev · Steve Kinney · 21 lessons · Feb 2023

    3 h 52 minSubscription
    Master.dev21Feb 2023

A hyphen means the provider's catalogue does not state the value.

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.

    Compare