Closed mattferrin closed 7 years ago
Ah yeah, need to add react to the peer dependencies. Make sure react 15.3.2 is installed:
npm -S i react@15.3.2
And in package.json remove the caret: "react": "15.3.2"
Waiting on https://github.com/tuckerconnelly/carbon-ui/issues/1 and https://github.com/necolas/react-native-web/pull/255 for 15.4 support :)
We'll need to know both the latest React and React Native versions that work. Trying to find the correct React Native version has me running into an issue that was fixed in later versions of React https://github.com/facebook/react-native/issues/4949.
Ah gotcha, I think react-native 0.37.0 is the latest that works.
BTW, two example projects using carbon-ui over here if you need them: https://github.com/tuckerconnelly/react-stack-nav-examples
Hurray! react-native-web is now compatible with latest React (necolas/react-native-web#255). Shall we start by bringing tuckerconnelly/react-native-web to latest RNW version?
Okay yup, this is good to go :) Should work with the latest react now. It's tested and working on react-native@0.39, was having lots of unrelated problems from the breaking changes on 40 and still working through those.
I'm just trying to get up and running and noticed React 15.3 contained a lib dependency that 15.4 doesn't.