react-use-machine

A small finite-state machine helper hook.

Source