DEV Community

Discussion on: Use an XState Machine with React

robvirtuoso profile image

This is great, as long as people don't start using state machines for everything just because it's cool. 😎

jbranchaud profile image
Josh Branchaud Author

Are there certain situations where you shouldn't use a state machine? Put another way, how do you know when is the right time to add state machines to an app?