Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClojureScript >=1.11.51 seems to break Rum #255

Open
yenda opened this issue Sep 16, 2022 · 3 comments
Open

ClojureScript >=1.11.51 seems to break Rum #255

yenda opened this issue Sep 16, 2022 · 3 comments

Comments

@yenda
Copy link

yenda commented Sep 16, 2022

There was a previous issue opened #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}]

@tonsky
Copy link
Owner

tonsky commented Sep 16, 2022

Is it broken in ClojureScript 1.11.60 still?

@yenda
Copy link
Author

yenda commented Sep 17, 2022 via email

@tonsky
Copy link
Owner

tonsky commented Sep 17, 2022

Prints #object[cljs.core.Atom {:val 1}] for me on 1.11.60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants