Re: [ClojureScript] Re: Question about code-splitting and loading of dependent modules.

2019-02-02 Thread Khalid Jebbari
I did this already in all modules. I noticed I had to add to the :main namespace (loader/set-loaded! :cljs-base) On Sat, Feb 2, 2019, 10:49 AM Thomas Heller In standard CLJS you must add a manual call to let the runtime know that > your module finished loading. > > (cljs.loader/set-loaded! :a) >

Re: [ClojureScript] Re: Question about code-splitting and loading of dependent modules.

2019-02-02 Thread Thomas Heller
In standard CLJS you must add a manual call to let the runtime know that your module finished loading. (cljs.loader/set-loaded! :a) Somewhere near the "end" of your modules. Only with this call will the runtime continue loading the code. https://clojurescript.org/guides/code-splitting --