A couple of days ago, I wrote a Cycle.js app using Elm to render stuff to the page. This was pretty fun and got some attention, so I might as well write about it some.
A Cycle.js application consists of three parts: your main
function declaration, your drivers setup, and your application initialization with Cycle.run
(which sets up the "Cycle" part of your application). We'll do the following in our app: