Open LawJolla opened 6 years ago
I felt bad pain points developing user state flows (e.g. a checkout form). A lot of nested if statements led to indeterminate states.
But UI state machines saved me! It's a graph representation in code form with finite states. Here's the package I used.
https://github.com/davidkpiano/xstate
I felt bad pain points developing user state flows (e.g. a checkout form). A lot of nested if statements led to indeterminate states.
But UI state machines saved me! It's a graph representation in code form with finite states. Here's the package I used.
https://github.com/davidkpiano/xstate