This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-20
Channels
- # announcements (5)
- # asami (162)
- # babashka (15)
- # beginners (1)
- # bitcoin (1)
- # calva (10)
- # chlorine-clover (3)
- # cider (1)
- # clj-kondo (4)
- # cljfx (10)
- # cljs-dev (1)
- # cljsrn (7)
- # clojure (38)
- # clojure-europe (69)
- # clojure-germany (2)
- # clojure-serbia (1)
- # clojurescript (22)
- # community-development (2)
- # conjure (1)
- # core-async (2)
- # cursive (14)
- # datahike (4)
- # fulcro (7)
- # graalvm (34)
- # helix (13)
- # honeysql (3)
- # lsp (134)
- # meander (56)
- # membrane (1)
- # off-topic (35)
- # practicalli (31)
- # releases (4)
- # rewrite-clj (5)
- # tools-deps (3)
- # vscode (6)
- # xtdb (8)
Is there a way to prevent loading of the whole bundle when making a small change in the app, during hot reloading? I’ve noticed that in pure rn projects usually making a small change results in a short refresh, however, when using cljs, the whole bundle is loaded evertime.
yeah disable hot reloading in the emulator i forgot exact steps but it's control + m menu will appear disable hot reloading now ur refresh will be mega fast and no bundle reload
@U45SLGVHV, I disabled “Fast refresh” by going to Device > Shake and then clicking “Disable Fast Refresh” in the emulator. But when I make changes in my code, they are not reflected in the app. What version of react native are you using? I’m using 0.63
i dont think it's related to RN version, i think i am using 61 Do u have shadow-cljs/figwheel running in separate terminal? If u do once u 'save' ur changes they should be reflected in the app
yes, the shadow-cljs files are definitely re-compiling upon save, but the “refreshing” never shows up in the app
Maybe, you don't have it configured properly @U01F1TM2FD5? https://gist.github.com/frankitox/d0c7ce67d3aad7da831be317a3d750ce is what I use in my project nowadays, It's pretty much Thomas Heller's example of shadow-cljs + rn.