-
Notifications
You must be signed in to change notification settings - Fork 84
Compatibility with reagent #64
Comments
I think this is not related to Lumo, but is instead an upstream issue in the ClojureScript compiler. See CLJS-1628 for more context. Doesn't it work if you don't print the result of |
It does indeed! |
Awesome. The problem is just with printing, or rather, with The warnings do seem weird, though. Do you know what's happening there? |
You're right, everything works fine if I apply the technique proposed in http://dev.clojure.org/jira/browse/CLJS-1628 by running this manually: (extend-protocol IPrintWithWriter
js/Symbol
(-pr-writer [obj writer opts]
(write-all writer "#object[Symbol \"" (.toString obj) "\"]"))) |
As for the warnings, they originate in a few lines in Closing this now as the issues lie elsewehre |
I'm trying to play with reagent from lumo.
Initial problems:
Now I can require the ns:
However, as you can see, calling create-element (or as-element) fails with a TypeError. Unfortunately without stacktraces, it's hard to figure where the error might be...
The text was updated successfully, but these errors were encountered: