cljsjs

juhoteperi 2017-10-07T10:04:51.000010Z

Hmph, have you tested other libs using global-exports? React, Leaflet, etc.

ag 2017-10-07T10:13:43.000028Z

I have tried react-transition-group - it didn't work, but for some other reason

juhoteperi 2017-10-07T10:14:09.000045Z

are you using latest Cljs version?

ag 2017-10-07T10:14:56.000016Z

in my project? Yes... well not the latest latest - "1.9.908"

juhoteperi 2017-10-07T10:16:56.000023Z

Okay, should be enough

juhoteperi 2017-10-07T10:17:39.000007Z

In your examples it looks like you are calling require as function/from REPL, are you trying this or requiring from ns-form?

ag 2017-10-07T10:32:02.000067Z

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

ag 2017-10-07T10:32:21.000013Z

maybe I'm wrong

ag 2017-10-07T10:33:04.000061Z

maybe it's specific to Enzyme. maybe there's something needs to be done in webpack conf. I dunno.

ag 2017-10-07T10:34:28.000051Z

To be honest I almost don't care anymore. It's just little part of me - stupid, stubborn and curious still wondering why it didn't work. Thank you for merging it.

ag 2017-10-07T10:37:39.000043Z

It can be used now. It just needs a nice wrapper. Maybe I will just make a repo with a couple example tests and add a link to that repo in package's readme