NOTE: This gist uses the master branch of ClojureScript. Clone ClojureScript and from the checkout run
./script/uberjar. This will produce
target/cljs.jarwhich you can use to follow this guide.
As client applications become larger it becomes desirable to load only the code actually
required to run a particular logical screen. Previously ClojureScript
:modules compiler option
permitted such code splitting, but this feature only worked under
and users would still have to manage loading these splits.
:modules also required manual