I've lost count of how many times I've broken production because of ClojureScript's advanced compilation and use of the dot + dash (.-) JS property access operator.
My advice: Never use .-
I've lost count of how many times I've broken production because of ClojureScript's advanced compilation and use of the dot + dash (.-) JS property access operator.
My advice: Never use .-
@Ardubal Yeah indeed, kinda obvious but at the same time unusual.
What I don't know is if there's order dependency, I mean, what happens if the compiler compiles `my-fn-2` first? Will it mangle `.-something`? Or is there separate analysis phase where the compiler first checks which names should not be mangled? 🤷