Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slim down JavaScript produced for simple ClojureScript views #60

Open
cemerick opened this issue May 7, 2012 · 3 comments
Open

Slim down JavaScript produced for simple ClojureScript views #60

cemerick opened this issue May 7, 2012 · 3 comments

Comments

@cemerick
Copy link
Contributor

cemerick commented May 7, 2012

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.

@gfredericks
Copy link

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.

@cemerick
Copy link
Contributor Author

cemerick commented Mar 6, 2014

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…

@myguidingstar-zz
Copy link

An other approach to consider is to alternate couchdb's javascript engine
https://github.com/iriscouch/couchjs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants