This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-08-05
Channels
- # announcements (7)
- # babashka (9)
- # beginners (47)
- # calva (28)
- # clj-kondo (17)
- # clj-otel (20)
- # clojure (193)
- # clojure-brasil (1)
- # clojure-europe (43)
- # clojure-norway (12)
- # clojure-uk (6)
- # clojurescript (18)
- # datalevin (15)
- # figwheel-main (3)
- # honeysql (3)
- # hyperfiddle (44)
- # introduce-yourself (2)
- # java (10)
- # lsp (19)
- # malli (9)
- # meander (4)
- # off-topic (14)
- # polylith (48)
- # re-frame (21)
- # releases (3)
- # shadow-cljs (6)
- # tools-deps (29)
- # yamlscript (3)
Hello, I had a question about how hot code reload works in shadow cljs. Do I have to add a dev:after-load hook to my mount-root function for the reload to trigger? I ask because I am trying to use react hooks and this would cause the local state variables to be reset on rerender.
https://code.thheller.com/blog/shadow-cljs/2019/08/25/hot-reload-in-clojurescript.html
helix experimented with supporting react fast refresh but I have no clue how that works, see https://github.com/lilactown/helix/blob/master/docs/experiments.md#fast-refresh
👍 1
Thank you for the quick reply! I will look into helix I started with reagent