core-async 2022-08-24

Is there a known, unexpected interaction with core.async and cljs's .. operator?

This code works

(set! (.. submit-btn -disabled) true)
but this fails with Wrong number of rags (1) passed to: clojure.core/-DOT--DOT-
(csp/go (set! (.. submit-btn -disabled) true))

😢

If it's not been fixed since 2014 then I guess it's not going to be fixed. thank you.

Alex Miller (Clojure team) 2022-08-24T15:09:44.007999Z

patches welcome :) fixing these things is generally hard

There is also issues with #js {...} literals. You can wrap your set! in a function to get it working