RxJS isn't complicated enough... let's add State Machines

Channel:
Subscribers:
81,900
Published on ● Video Link: https://www.youtube.com/watch?v=09MeFnc0BYg



Category:
Tutorial
Duration: 7:51
7,816 views
291


We take a look at how we can combine state machines using XState with a typical reactive state management flow using RxJS, Angular, and Signals.

Source code: https://github.com/joshuamorony/state-machine-error/blob/main/src/app/shared/data-access/posts.service.ts
Reactive error handling with signals: https://www.youtube.com/watch?v=54q7P9PB0WU

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Learn Angular with Ionic: https://ionicstart.com

#xstate #angular #rxjs

0:00 Introduction
0:33 What is a state machine?
1:34 The scenario
1:56 Creating the types
3:04 Creating the state machine
5:48 Using the state machine with RxJS
6:33 Is it worth it?

- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony







Tags:
ionic
tutorial
tutorials
ionic tutorials
ionic framework
coding
coding tutorials
angular
angular tutorials
capacitor tutorials
mobile
mobile apps
apps
html5
ios
android
native
hybrid
pwa
web apps
progressive web applications
programming
stenciljs
stencil
performance
ui
ux
animations
screencast
rxjs
nx
ngrx
architecture