5 ms·
This reminds me a lot of Clojurescript's Reagent https://reagent-project.github.io/ https://reagent-project.github.io/ (link also has a counter example) I've t
by _ezrr 5y ago
This reminds me a lot of Clojurescript's Reagent https://reagent-project.github.io/ https://reagent-project.github.io/ (link also has a counter example)
I've tried using bare React in the past (after using Clojurescript), because I wanted my project to be more approachable for outsiders. But I couldn't really handle the (to me, and the author) unnecessary complexity that's added.
I would even say the Reagent version is even simpler than the Solid.js version, because you're using Clojure's Atom API rather than creating read / write functions. For the adventurous hearted I'd definitely recommend giving it a try!
Edit: Someone posted a Reagent counter example on codepen a few days ago: https://codepen.io/Prestance/pen/PoOdZQw https://codepen.io/Prestance/pen/PoOdZQw
- dhucerbin 5y agoImagine if we could have runtime characteristics of solid, dsl of hiccup and simple semantics of clojure atoms and refs!