This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-30
Channels
- # arachne (2)
- # beginners (8)
- # boot (19)
- # chestnut (2)
- # cider (1)
- # clara (1)
- # cljs-dev (31)
- # cljsrn (82)
- # clojure (163)
- # clojure-dusseldorf (7)
- # clojure-greece (1)
- # clojure-italy (4)
- # clojure-norway (3)
- # clojure-russia (24)
- # clojure-sg (5)
- # clojure-spec (6)
- # clojure-uk (42)
- # clojurescript (239)
- # core-async (4)
- # cursive (10)
- # data-science (18)
- # datascript (1)
- # datomic (110)
- # emacs (16)
- # euroclojure (1)
- # events (1)
- # figwheel (1)
- # hoplon (22)
- # keechma (2)
- # klipse (5)
- # lein-figwheel (3)
- # leiningen (7)
- # luminus (27)
- # melbourne (2)
- # mount (5)
- # nyc (7)
- # off-topic (35)
- # om (20)
- # onyx (49)
- # pedestal (41)
- # re-frame (31)
- # reagent (18)
- # remote-jobs (9)
- # ring (4)
- # ring-swagger (1)
- # spacemacs (6)
- # specter (6)
- # uncomplicate (3)
- # unrepl (9)
- # untangled (54)
- # yada (11)
@eoliphant have you published your cljs-version of grommet?
Hi all, I'm using reagent "0.6.2" with cljs-react-material-ui "0.2.44". I'm trying to import this module https://www.npmjs.com/package/react-ui-tree, but when i calling for him inside create-class, i got Warning: Something is calling a React component directly. Use a factory or JSX instead.
and Uncaught TypeError: Cannot read property '__reactAutoBindPairs' of null
. Can anyone help? How i can debug this?
@osmirnov can you show the code?
(def treeui
(let [tree (aget js/window "Tree")
and inside :reagent-render [:> tree .....
check in your dev tools, does window.Tree exist?
oh and are you sure you mean def
instead of defn
?
I think posting the actual snippet might help
window.Tree
function (props, context, updater) {
// This constructor gets overridden by mocks. The argument is used
// by mocks to assert on what gets mounted.
@pesterhazy You are right man, my small mistake...and it rendering now, thx.
Is there any meaningful difference between (aget js/window "Tree")
and js/Tree
? Except for the externs.
ugh that’s annoying @gadfly361 , id’ been using (aget) since it’s more clojury lol