DEV Community

Discussion on: useState vs useReducer vs XState - Part 1: Modals

Collapse
 
esakkiraj profile image
Esakki Raj

Thanks for the article Matt. I would be interested to see how State machines can be used to solved Form State and Multi-step sequences.

Collapse
 
hanzlahabib profile image
hanzlahabib

Its wonderful for multi-step sequences, it let you visualize the flow of application, have used it in current project, where we tend to manage 3 different flows using parallel states in xstate,