This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-15
Channels
- # bangalore-clj (4)
- # beginners (53)
- # boot (7)
- # cider (1)
- # clara (1)
- # cljs-dev (13)
- # clojure (29)
- # clojure-dusseldorf (3)
- # clojure-russia (7)
- # clojure-spec (63)
- # clojure-uk (7)
- # clojurescript (51)
- # css (1)
- # datomic (5)
- # emacs (1)
- # events (1)
- # fulcro (15)
- # hoplon (3)
- # immutant (3)
- # juxt (1)
- # midje (2)
- # off-topic (24)
- # om (1)
- # parinfer (1)
- # portkey (54)
- # re-frame (4)
- # reagent (13)
- # schema (1)
- # shadow-cljs (19)
- # sql (1)
- # testing (37)
- # yada (2)
Cannot read property 'getHostNode' of null
and Cannot read property 'apply' of undefined
@dimovich Cannot read property 'getHostNode' of null
is a typical error that occurs after other exceptions are thrown in a react component - probably not the root cause
@dimovich the other problem may well be due to the use of npm-deps. Have you checked that window.fabric.Canvas exists? The invocation seems correct
@pesterhazy window.fabric.Canvas is an #object[klass]
@pesterhazy in the end seems the documentation on npm is missleading https://www.npmjs.com/package/react-fabricjs
the right way to use it in CLJS would be: https://gist.github.com/anonymous/40d0d392b1ea84713cddeafa3fd67789
why is it called react-fabricjs then? weird!