This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-08
Channels
- # announcements (1)
- # babashka (28)
- # beginners (30)
- # calva (1)
- # cider (13)
- # clojure (26)
- # clojure-brasil (2)
- # clojure-europe (29)
- # clojure-italy (1)
- # clojure-nl (1)
- # clojure-norway (16)
- # clojure-spec (4)
- # clojure-uk (5)
- # cursive (17)
- # data-science (15)
- # datomic (8)
- # emacs (8)
- # events (1)
- # hyperfiddle (54)
- # joyride (18)
- # jvm (2)
- # kaocha (8)
- # lsp (8)
- # malli (4)
- # missionary (11)
- # reagent (5)
- # reitit (13)
- # releases (2)
- # rum (2)
- # scittle (6)
- # shadow-cljs (3)
Is there a pattern for retaining rum/local state upon shadow-cljs doing a reload? it's kinda tough to iterate on a component's UI when the rum/local state is lost on every file save.
Update: found this page [ https://github.com/tonsky/rum/blob/gh-pages/doc/useful-mixins.md#remember-state ], but it doesn't seem to work with hot reload (because upon each reload, the remembered state atom is re-initialized.
Update: found this page [ https://github.com/tonsky/rum/blob/gh-pages/doc/useful-mixins.md#remember-state ], but it doesn't seem to work with hot reload (because upon each reload, the remembered state atom is re-initialized.