DEV Community

loading...
Cover image for Finite State Machines in ReScript

Finite State Machines in ReScript

Alain
Updated on ・1 min read

Finite State Machines in ReScript

I saw this excellent blog post by @erikras, Finite State Machines in ReScript, but he didn't show the code implementing though he provides a demo on the blog post.

I needed to know how to implement it so I when ahead and did it. Here it is: rescript-state-machine-twitter.

Running

> git clone https://github.com/idkjs/rescript-state-machine-twitter
> cd rescript-state-machine-twitter
> yarn && yarn dev
Enter fullscreen mode Exit fullscreen mode

Discussion (0)