onboarding flows - Is xstate worthy?
Hey,
I'm creating the onboarding flow of my app and I was wondering if I should use a finite state machines library like Xstate or Robots.
I don't know because... Xstate feels like a completely different way of coding vs "normal react".
I understand "that logic has to be somewhere else and it's better if it's organized" and all that stuff but the reality is that:
- TypeScript inference (an error messages) is not good, at least for what I've seen in a video on YouTube by one of the developers
- even if I manage to learn Xstate and implement it in my app, if I'm gonna be the only one that knows how it works that makes it not very maintainable.
So...
do you guys have any experience with Xstate? how was your experience?
is it really worth it because I understand what the "paradigm" is, and it does look pretty awesom, but I don't know somethint that can be achieved or it's just a "nice case study of how fsm can be implemented in code".
I would REALLY appreciate some insights!