FSM

What

Not Flying Spaghetti Monster

Wiki Finite State Machine

Why

Ui State -> Booleans are Anti-pattern

Examples

 

Loading List

isLoading

More Complexity

 

All Hail The Spaghetti

Redux

Typescript Disjoint Unions

Impossible State Impossible/ No Booleans

Panel State Machine

Recap

State Machine

By Justin Miller

State Machine

  • 24