Fork me on GitHub
#announcements
<
2023-12-06
>
skuttleman23:12:01

I was looking for something like re-frame that works with reagent, but is lighter weight, cljc-friendly, and supports multiple stores. Ended up making a thing. It turned out surprisingly ok, I think. https://github.com/skuttleman/defacto

👀 5
clojure-spin 1
catjam 1
🎉 1
isak23:12:16

I checked out a project that tried a similar approach, but it ran into issues with using multimethods for subscriptions, because it is hard/impossible to detect when the definitions change, so proper hot-reloading breaks. I think that is why re-frame does it like it does (e.g., reg-sub.) Did you consider or run into that problem with this approach?

skuttleman23:12:58

I have not seen an issue with hot-reload in my playtime app I'm using this in, but I'll keep an eye out for it.

👌 1