diff --git a/resources/cljs-om-next/main_dev.cljs b/resources/cljs-om-next/main_dev.cljs index 83b2f98..ed95294 100644 --- a/resources/cljs-om-next/main_dev.cljs +++ b/resources/cljs-om-next/main_dev.cljs @@ -13,4 +13,5 @@ (core/init) +;; Do not delete, root-el is used by the figwheel-bridge.js (def root-el (core/app-root)) \ No newline at end of file diff --git a/resources/cljs-reagent/main_dev.cljs b/resources/cljs-reagent/main_dev.cljs index 00bedb7..e73ac95 100644 --- a/resources/cljs-reagent/main_dev.cljs +++ b/resources/cljs-reagent/main_dev.cljs @@ -7,6 +7,8 @@ (def cnt (r/atom 0)) (defn reloader [] @cnt [core/app-root]) + +;; Do not delete, root-el is used by the figwheel-bridge.js (def root-el (r/as-element [reloader])) (figwheel/watch-and-reload diff --git a/resources/cljs-reagent6/main_dev.cljs b/resources/cljs-reagent6/main_dev.cljs index 940e363..5fa2a56 100644 --- a/resources/cljs-reagent6/main_dev.cljs +++ b/resources/cljs-reagent6/main_dev.cljs @@ -8,6 +8,8 @@ (def cnt (r/atom 0)) (defn reloader [] @cnt [core/app-root]) + +;; Do not delete, root-el is used by the figwheel-bridge.js (def root-el (r/as-element [reloader])) (defn force-reload! [] diff --git a/resources/cljs-rum/main_dev.cljs b/resources/cljs-rum/main_dev.cljs index 6fae51c..a3ba7b0 100644 --- a/resources/cljs-rum/main_dev.cljs +++ b/resources/cljs-rum/main_dev.cljs @@ -12,4 +12,6 @@ (core/init) + +;; Do not delete, root-el is used by the figwheel-bridge.js (def root-el (core/root-component-factory))