This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-07
Channels
- # beginners (153)
- # cider (2)
- # cljs-dev (1)
- # cljsjs (11)
- # cljsrn (4)
- # clojure (21)
- # clojure-austin (2)
- # clojure-greece (1)
- # clojure-italy (8)
- # clojure-russia (12)
- # clojure-spec (68)
- # clojurescript (35)
- # cursive (4)
- # datomic (2)
- # fulcro (15)
- # off-topic (1)
- # om (1)
- # portkey (35)
- # protorepl (6)
- # re-frame (28)
- # shadow-cljs (13)
- # specter (10)
- # uncomplicate (3)
- # unrepl (7)
Hmph, have you tested other libs using global-exports? React, Leaflet, etc.
are you using latest Cljs version?
Okay, should be enough
In your examples it looks like you are calling require
as function/from REPL, are you trying this or requiring from ns-form?
I tried both, not so much in real ns - my testing setup somewhat clunky and slow - it's still using Phantom. Spinning up a real browser repl is also slow. So for me (every time after I install package locally) was faster to get a node or rhino repl. I assumed if the globals would work they would work in any repl - node, rhino or connected to the browser
maybe it's specific to Enzyme. maybe there's something needs to be done in webpack conf. I dunno.