Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thinkloop
· 8y ago · 0 comments
Fast forward 8 years and everyone on the front end is using state machines with the rise of react/redux et al.
Comments
[–]
ricardobeat
8y ago
A reducer store is not a state machine since both the transitions and states are loosely defined. That said, at this point I think it's actually better for UI, despite the verbosity and lack of formal correctness.
[–]
acemarke
8y ago
It's also worth noting that you can absolutely _use_ state machines to implement your reducer logic :)