Greetings,
Attempting to resurrect a couple-year-old cljs browser project that was using 'ag-grid'. At that time, enterprise, but now opting for community version.
not much special - just (require ... ["ag-grid-react" :refer [AgGridReact]] ...),
but getting innundated with:
shadow-cljs - connected to server
[:ui] Compiling ...
Closure compilation failed with 80 errors
--- node_modules/ag-grid-community/dist/package/main.cjs.js:1295
Class names defined inside a function cannot be reassigned.
--- node_modules/ag-grid-community/dist/package/main.cjs.js:2935
...
Anybody using this thing, or have a suggestion about what I'm missing?
Looks like Closure compiler doesn’t like certain JS code in the library. Maybe try a different version of the library.
is it all the same Class names defined inside a function cannot be reassigned. error?
but yeah could by they are using too many new features that aren't compatible with the closure compiler
yes, just different line numbers.