webstackers / meetup

Information and Organization for the Tucson Web Stackers Meetup.
10 stars 0 forks source link

UI State Charts #6

Open LawJolla opened 6 years ago

LawJolla commented 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