NOTE: This gist uses the master branch of ClojureScript. Clone ClojureScript and from the checkout run
./script/bootstrapand./script/uberjar. This will producetarget/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 :advanced compilation
and users would still have to manage loading these splits. :modules also required manual