Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo 49 migration #32

Open
headwinds opened this issue Sep 29, 2023 · 1 comment
Open

Expo 49 migration #32

headwinds opened this issue Sep 29, 2023 · 1 comment

Comments

@headwinds
Copy link

We're using this awesome library in our project - our user love it!

We want to upgrade to Expo 49 but are stuck - would you consider upgrading to the latest versions of react & react-native and publishing to NPM again? You're only dependencies... ;-D

When I do npm i in my project, I get:

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.0.0-beta.5" from [email protected]
npm ERR! node_modules/react-native-card-flip
npm ERR!   react-native-card-flip@"1.0.7" from the root project
@headwinds
Copy link
Author

I ended up simply copying CardFlip.js into my project and, since it's modern, I didn't need react-lifecycles-compat so was able to remove line 345 polyfill(CardFlip) and that dependency

It's working perfectly with the latest react & react-native so kudos again for writing such nice code that is standing the test of time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant