purescript-stadium stadium in a nutshell: Write your state machines in PureScript Use it as regular Hook in a React app See this project as usage example.