This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-06
Channels
- # adventofcode (54)
- # announcements (3)
- # babashka (34)
- # beginners (38)
- # calva (27)
- # cherry (5)
- # clj-kondo (34)
- # clojure (26)
- # clojure-bay-area (4)
- # clojure-berlin (3)
- # clojure-europe (26)
- # clojure-india (6)
- # clojure-nl (1)
- # clojure-norway (54)
- # clojure-uk (2)
- # conjure (3)
- # cursive (4)
- # data-science (1)
- # emacs (6)
- # events (4)
- # fulcro (2)
- # hugsql (6)
- # hyperfiddle (38)
- # lsp (3)
- # matrix (1)
- # membrane (5)
- # off-topic (27)
- # re-frame (3)
- # releases (1)
- # sci (8)
- # shadow-cljs (34)
- # squint (132)
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
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?
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.