Open cemerick opened 12 years ago
Checking in on this -- my guess from overhearing CLJS dev is that this is much better now on the CLJS side, but when I tried forcing a new version of CLJS today I got an error on calling cljs-views/view
.
Yeah, I haven't touched clutch in a long time; I presume its integration with the ClojureScript compiler API is very out of date at this point…
An other approach to consider is to alternate couchdb's javascript engine https://github.com/iriscouch/couchjs
This is fundamentally a ClojureScript issue. Due to various factors, the smallest hunk of js an optimized ClojureScript fn can produce is ~40K.
View code is loaded quite infrequently, and loading 40k of js is hardly a bottleneck, but having less js coming out of cljs would make debugging and such simpler.