rum
rum copied to clipboard
ClojureScript >=1.11.51 seems to break Rum
There was a previous issue opened https://github.com/tonsky/rum/issues/253
Using the following snippet taken for one of the examples and simplified:
(rum/defc value < rum/reactive
[*ref]
[:code (pr-str *ref #_(rum/react *ref))])
(rum/defc inputs2 []
(let [*ref (atom 1)]
[:dl
[:dt (value *ref)]]))
*ref is printed as #js {"0" #object[cljs.core.Atom {:val 1}]}
in previous versions, it would be #object[cljs.core.Atom {:val 1}]
Is it broken in ClojureScript 1.11.60 still?
Yes
On Fri, 16 Sep 2022, 22:26 Nikita Prokopov, @.***> wrote:
Is it broken in ClojureScript 1.11.60 still?
— Reply to this email directly, view it on GitHub https://github.com/tonsky/rum/issues/255#issuecomment-1249781500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJAMKLP66YVNVMPO4TLXEDV6TJXBANCNFSM6AAAAAAQOJCYMM . You are receiving this because you authored the thread.Message ID: @.***>
Prints #object[cljs.core.Atom {:val 1}] for me on 1.11.60