Fork me on GitHub

I love this alternative to Stuart Sierra Component because whereas Component forces your code into OO-ish (you gotta pass Component arg to each fn), this lets you keep your code functional: Anybody used Mount?


To me, Component is more functional than Mount, because Mount leaves a lot of implicit state around inside your function whereas it’s all explicitly passed in with Component.