squint 2024-10-10

@borkdude what would be your thoughts on porting this to squint https://bitbucket.org/sonwh98/mr-clean

it's a tiny Reagent style library that doesn't really need any dependencies, only dependency it has is for generating html strings from hiccup which squint is already able to do

having light weight reagent style semantics out of the box could be kind of nice

💯 1

yeah preact is nice too, the part I like with mr-clean approach is that it doesn't even bother with a vdom since the repaints are a product the state of a reactive atom

sounds bit like hoplon too

yeah same idea

I was thinking another neat use case for something like this could be server side where you could have an atom that you subscribe to and whenever its state changes you produce effects