Fork me on GitHub
#cljsjs
<
2017-11-09
>
gadfly36108:11:06

@kristian507 🙌 thank you!

mikerod23:11:48

I get failures trying to use cljsjs/react-select due to cljsjs/react-input-autosize having this “requires” line https://github.com/cljsjs/packages/blob/master/react-input-autosize/build.boot#L27

mikerod23:11:11

It :requires ["react" "prop-types"] when the package is being provided as “cljsjs.react”, not “react”

mikerod23:11:25

this was changed at some point to include “react”, but older versions of the cljsjs/react only had a provides of “cljsjs.react”

mikerod23:11:22

Going to try to use a higher version of react with reagent I think to see if it will resolve

mikerod23:11:32

The workaround for me was to just use a higher version of a v15.x react than the one that was packaged with reagent 0.7.0

mikerod23:11:53

I used the same one as cljsjs/react-input-autosize depends on and I guess it “provides” the “react” namespace as expected

mikerod23:11:37

I’d be interested to hear if anyone has found a way to use react-bootstrap with reagent 0.8x and React 16 yet

mikerod23:11:48

(that’s what is preventing me from moving forward at the moment)