3 ms·
xState Sometimes you really need a state machine and for me this is the go to library. Pros: -Visualizer. Non-tech people love the visualizer. Tech people as
by Tade0 4y ago
xState
Sometimes you really need a state machine and for me this is the go to library.
Pros:
-Visualizer. Non-tech people love the visualizer. Tech people as well really.
-Integrates easily with entities which are also implicitly state machines, like Promise.
Cons:
-Learning curve. I've already rewritten our state machine once because my original implementation was not idiomatic.
Mobx also works. Ngrx, Redux and the like just smear your logic all over the place, which is bad.