shadow-cljs

amano 2026-02-20T13:40:31.439429Z

How good is shadow-cljs for interacting with npm packages? Can shadow-cljs work with all npm packages?

thheller 2026-02-20T14:15:20.955829Z

most packages just work. some are using like super cutting edge JS features that the closure compiler doesn't support, so shadow-cljs doesn't either. depends really. you can always fall back to using other JS bundlers for the JS parts if needed. so I recommend just trying and assuming it works. 😉

amano 2026-02-21T06:47:39.531949Z

Because closure compiler is not developed anymore, I guess I will rely more and more on external JS bundlers.

amano 2026-02-21T06:48:22.049939Z

I suppose google closure compiler can focus just on clojurescript code..

thheller 2026-02-21T07:43:22.215309Z

the closure compiler is under active development. the closure library isn't. big difference. It just isn't as fast to adopt all the new (and often not even standardized) JS features out there.