This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-05
Channels
- # admin-announcements (4)
- # beginners (47)
- # boot (69)
- # cider (11)
- # cljsjs (1)
- # cljsrn (5)
- # clojure (163)
- # clojure-austin (17)
- # clojure-russia (27)
- # clojure-uk (46)
- # clojurescript (109)
- # core-async (28)
- # cursive (2)
- # data-science (1)
- # datavis (1)
- # datomic (9)
- # dirac (33)
- # funcool (8)
- # hoplon (1)
- # lein-figwheel (1)
- # leiningen (1)
- # luminus (23)
- # mount (3)
- # nyc (2)
- # off-topic (25)
- # om (3)
- # onyx (4)
- # perun (7)
- # re-frame (10)
- # reagent (2)
- # ring-swagger (4)
- # spacemacs (4)
- # uncomplicate (1)
- # untangled (21)
- # vim (2)
- # yada (2)
how are native React classes usually used as props to other native React classes that have been adapted with adapt-react-class
; e.g. only this works:
[(r/adapt-react-class (aget js/MaterialUI "IconMenu")) {:icon-button-element ((aget js/MaterialUI "IconButton") {:touch true} (icons/navigation-expand-more))
throws exception:
[(r/adapt-react-class (aget js/MaterialUI "IconMenu")) {:icon-button-element ((r/adapt-react-class (aget js/MaterialUI "IconButton")) {:touch true} (icons/navigation-expand-more))
and also throws exception:
[(r/adapt-react-class (aget js/MaterialUI "IconMenu")) {:icon-button-element ((r/reactify-component (r/adapt-react-class (aget js/MaterialUI "IconButton")) {:touch true} (icons/navigation-expand-more)))
does this mean you have to use a mix of both adapted and native React classes ?