joyride 2023-02-10

Is there any news about rewrite-clj for joyride?

Not other than that Joyride is better prepared for including rewrite-clj since a while.

cool, great news.

and great job

I think @borkdude might want us to solve the lazy-require of dependencies before we include rewrite-clj, but I might be wrong about that.

What we have to do here is create a module so shadow will compile a different .js file

and then we require (in Node.js) that via the load-fn when people require rewrite-clj

I can take a look at this today maybe.... maybe...

šŸ¤ž 1

I’m curious as to why rewrite-clj would be different than any other clojurescript dependency

It's not but so far we haven't included many CLJS dependencies yet and lazy loading is better for startup time

Oh, okay

Joyride is, and needs to be, very quick to start.

šŸ‘ 1

Makes sense

@borkdude would it make sense for joyride to be able to read bb.edn config and figure out dependencies that way?

that's an entirely different issue

rewrite-clj isn't compatible with joyride/SCI from source so that wouldn't help

But would it be a thing for compatible libraries?

yes, but this is a different topic right?

last time we talked about it we also considered using npm for this

since those scripts may depend on other npm libs

Yes, probably a different topic. Just started to think about it.

The Discussions on the repo might be a good place to iron it out.