?/100

XState Docs Speedrun - 2022

February 9, 202212819

Description

XState core member Matt Pocock speedruns the XState docs to teach you everything you need to know to get started with XState. Chapters: 0:00 Introduction 1:00 Getting started 1:35 States & Transitions 3:42 Initial states 4:00 Final states 5:26 Compound states 7:34 Parallel states 9:46 Self transitions 11:00 Actions 14:20 Entry & Exit actions 16:17 Machine ids 16:42 Machine options 17:59 .withConfig 18:35 machine.transition 20:45 state.matches 21:34 state.nextEvents 22:38 state.can 23:41 Other state properties 27:17 Context & assign 32:29 Always transitions & Guards 36:03 Infinite always error - explanation and fix 39:30 If/else transitions 42:36 interpret 44:47 Transitions in FSM's 45:30 Wildcard events 48:10 Multiple targets 49:06 Parent/child inheritance of transitions 51:35 Effects 51:54 Invoking promise-based services 55:38 Services type safety 58:40 Invoked callbacks 1:00:20 Cancelling promise-based services 1:01:32 After transitions 1:04:05 Stuff we won't cover 1:05:06 TypeScript & Event values 1:08:35 Finish

Wheatcha