squint-cljs / cherry

Experimental ClojureScript to ES6 module compiler
https://squint-cljs.github.io/cherry
553 stars 22 forks source link

Consider JVM multi-page "compile just in time" scenario #42

Closed borkdude closed 2 years ago

borkdude commented 2 years ago

It was suggested by @didibus that cherry could be molded into something that you could use in multi-page apps in a JVM to use it to generate JS from CLJS expressions "just in time". Similar to scittle, but I guess you could cache the compiled JS server side.

borkdude commented 2 years ago

Demo here: https://twitter.com/borkdude/status/1555851601390206979