This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-07
Channels
- # admin-announcements (2)
- # boot (111)
- # capetown (5)
- # cider (15)
- # clara (15)
- # cljs-dev (8)
- # clojure (78)
- # clojure-brasil (1)
- # clojure-dev (2)
- # clojure-greece (25)
- # clojure-hk (1)
- # clojure-russia (5)
- # clojure-seattle (1)
- # clojure-spec (120)
- # clojure-sweden (3)
- # clojure-uk (63)
- # clojurescript (161)
- # data-science (1)
- # datomic (21)
- # editors (43)
- # emacs (3)
- # funcool (1)
- # hoplon (72)
- # instaparse (11)
- # jobs (1)
- # off-topic (2)
- # om (212)
- # onyx (9)
- # other-languages (129)
- # proton (5)
- # re-frame (15)
- # reagent (18)
- # slack-help (4)
- # spacemacs (18)
- # untangled (224)
- # yada (21)
@pesterhazy: as-element
and reactify-component
are both resulting in an entity which does not have a render
defined.
@pesterhazy: "Warning: Component(...): No render
method found on the returned component instance: you may have forgotten to define render
in your component or you may have accidentally tried to render an element whose type is a function that isn't a React component."
Try passing an anonymous fn, I.e. #(as-element ...)
So, you're suggesting that (def ^:export anon #(r/as-element ... ))
is somehow better than: (defn ^:export element [] (r/as-element ...))
?
No that should be identical
Sorry, don't know what's going on then
@johanatan: have you seen this documentation? https://reagent-project.github.io/news/news050.html
@pesterhazy: yep, i saw that