Control a CSS animation with XState
CSS animations play very well with state machines. Let's take a look at the React Toastify library reimplementation with XState and how XState can help control animations.
Read moreA collection of tips and tricks to make the best use of XState.
CSS animations play very well with state machines. Let's take a look at the React Toastify library reimplementation with XState and how XState can help control animations.
Read moreUsing a global identifier as the target of a state transition can feel brutal. A more elegant solution I prefer is relying on final states.
Read moreOne of my favorite XState tricks is invoking actors at the machine's top level. You should probably be using it instead of spawning unique actors.
Read moreSign up for the newsletter to be notified when more machines or an interactive tutorial are released. I respect your privacy and will only send emails once in a while.