This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-19
Channels
- # aws (9)
- # bangalore-clj (1)
- # beginners (6)
- # cider (17)
- # cljs-dev (9)
- # cljsrn (31)
- # clojure (70)
- # clojure-spec (19)
- # clojurescript (122)
- # cursive (1)
- # datomic (20)
- # dirac (8)
- # fulcro (19)
- # hoplon (25)
- # instaparse (2)
- # lambdaisland (3)
- # luminus (8)
- # lumo (10)
- # om (22)
- # parinfer (25)
- # protorepl (2)
- # re-frame (35)
- # reagent (1)
- # test-check (5)
- # unrepl (6)
has anyone seen this warning in om.next before? Warning: Unknown props
meta`, cnt
, arr
, __hash
, cljs$lang$protocol_mask$partition0$
, cljs$lang$protocol_mask$partition1$
on <div> tag. Remove these props from the element.`
@steveb8n Yes. It means the props you sent to a div tag are not know by the underlying React DOM function, and it is warning you incase you misspelled them.
I have SSR stuff in cljc, and I def clj->js
to identity
..then the code works in both
If you look in the om source, it has a data readers file for defining #js
I think on the clj side
@steveb8n Another option is to use plumatic om-tools https://github.com/plumatic/om-tools