use-tiny-state-machine (npm): A tiny (~700 bytes) react hook to help you write finite state machines
Keywords: functional|finite|state-machine|hooks|react|functional-programming|fp|js|finite-state-machine