cljs-dev 2024-10-11

@thheller so what is the state of shadow-cljs and advanced compilation of Node stuff, is it still just a case by case thing or you have enhanced this over time? I'm back to doing more web stuff at work so back on my radar. today I was looking at autoComplete.js which feels like it should work - but the way the package.json is not ideal.

gave up a long time ago and never looked at it again. there is just too much stuff the closure compiler doesn't like or plainly destroys with :advanced. It does work if all packages used are "standard" ESM, but that is still relatively rare

👀 1

react and stuff still break because of some "meta-programming" stuff the closure compiler doesn't identify correctly, i.e. accessing properties via foo[some_str] and foo.bar in other places

you can fix most issues by manually crafting externs, but who wants to do that 😛

gotcha, was just wondering if people were looking at some these zero dep JS libraries and trying to get it to work w/ shadow