So I think this is basically an abstraction on top of useReducer which itself is kind of a state machine pattern.
It’s a little verbose more my liking but I think it could be powerful for large apps with lots of states.
It’s a little verbose more my liking but I think it could be powerful for large apps with lots of states.