clojurescript

Drew Verlee 2025-02-06T21:25:34.357609Z

So the three ways to avoid 'improper' Google Closure munging are: Externs, type hinting ^js, or using a function like goog/set which uses strings (which aren't munged)... right? Assuming that's correct, does js-invoke play a role?

p-himik 2025-02-06T21:47:02.959319Z

It can play a role if you want. But I wouldn't use it for anything beyond what its docstring describes.

Roman Liutikov 2025-02-06T21:51:35.176489Z

I use ^js type hint in almost all cases, except when prop name is not known ahead of time

➕ 2
Drew Verlee 2025-02-07T04:14:56.533339Z

Thanks P-himik and Roman.