Course Information
Course Overview
Learn how to build complex web applications and manage state with finite State Machines using Javascript and React
This course is an introduction to finite state machines built with Javascript. State machines can describe complex applications straightforwardly, which makes them intuitive to work with and less error-prone. State machines can be easily integrated with React, which allows us to take a whole new approach for state management in React applications.
This course shows some basic concepts about state machines and their usage with XState. Also, it contains multiple coding examples, which allow students to have a better understanding of this topic.
Agenda:
Introduction to state machines
States, events, and transitions
Actions
Context
Guards
More on transition
Invoking services
Invoking machines
Delays
Alongside the presentations, we will also code some real-world examples, like:
Video player with autoplay option
Fetch machine for handling async requests
Search component with debounce
Course Content
- 10 section(s)
- 20 lecture(s)
- Section 1 Curriculum and prerequisites
- Section 2 Introduction to State Machines
- Section 3 States, events and transitions
- Section 4 Actions
- Section 5 Context
- Section 6 Guards
- Section 7 More on transitions
- Section 8 Invoking services and parallel machines
- Section 9 Invoking machines
- Section 10 Delays
What You’ll Learn
- Building State Machines with Javascript and Typescript
- Better state management in React applications
- Describing complex business logic in a simple way
- Building less error-prone web applications
Reviews
-
DDheeraj Kumar
A good lectures....
-
SSachin Khedkar
Voice is too low. Voice frequency differs a lot in every video.
-
MMARWAN ZEINEDDINE
Very interesting. Hopefully you'll expand it to cover xstate V5. Also perhaps you can add some example with nested state machines with parent/children. The relevant section was very short. Thanks!
-
JJose Roldan
Very good content, easy to understand and straight to the point, thank you