Closed mnecchi closed 2 years ago
Do you have multiple versions of React installed?
yarn why react
Do you have multiple versions of React installed?
yarn why react
Nope. Only RN 17.0.2.
As I wrote I've basically create a new bare project with the latest RN (0.68.1) and installed dripsy. Nothing else.
I see that you have Component
and pageProps
like a Next.js app. This is only for native though right?
I see that you have
Component
andpageProps
like a Next.js app. This is only for native though right?
Yes, only native
what if you do expo init
I'm not using expo. It's a vanilla RN native project.
Facing the same issue with a fresh project having react-native version 0.68.2, did a little digging and @dripsy/core seems to have a node_modules folder with react 18.1.0 in it. Could that be the cause? I didn't face any issues with a react-native v0.66 project with the same dripsy version
i assume you’re using npm. try using legacy peer deps
This worked for me, thanks a lot!
Steps to reproduce
1) create a bare RN app with
npx react-native init DripsyTest
2) Install Dripsynpm install dripsy --save
3)npm start
andnpm run ios
4) ReplaceApp.js
code with:Expected result
App starting successfully
Actual result