cherry

borkdude 2022-08-06T08:56:23.202569Z

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".

2022-08-06T08:56:26.387359Z

@didibus has joined the channel

borkdude 2022-08-06T09:00:45.552809Z

Similar to scittle I guess, but you could cache the compiled JS

borkdude 2022-08-06T09:09:09.295899Z

So e.g.:

/app
would be a ring response that calls hiccup for HTML generation and cherry (as a JVM) lib which produces JS just in time

🤯 3
borkdude 2022-08-06T09:41:58.548579Z

A demo here: https://twitter.com/borkdude/status/1555851601390206979

borkdude 2022-08-06T16:04:13.897049Z

Here's an example web app that compiles JS "on the fly": https://twitter.com/borkdude/status/1555947698578198532

4
🤌 1
borkdude 2022-08-06T16:06:33.985829Z

cc @didibus

2022-08-06T17:29:14.401429Z

Nice!!