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

WARNING: This library will no longer work with React Native after version 0.65 #606

Open
paulsjohnson91 opened this issue Dec 15, 2021 · 1 comment

Comments

@paulsjohnson91
Copy link

The picker library has been removed from the react native package which causes this to fail to compile.

@lakhtoptal
Copy link

Hey guys,

I didn't know that this library was the real culprit behind my problem I was having after upgrading react native.
I was able to see this error when running on android after upgrading my react-native version to 0.68.1 from 0.61.5:-
Invariant Violation: Picker has been removed from React Native. It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. See https://github.com/react-native-picker/picker

But when I checked the code, I wasn't using picker anywhere, I didn't find any help from google and finally started analyzing single file I was using in my project and found that this library was causing the problem and it's not being maintained from long time now.

I saw there is PR already #605 and I hope this will merge soon.

I am not sure which alternative is best if you want to avoid this library but here is the list of alternatives:-
https://www.libhunt.com/r/tcomb-form
I like this one https://github.com/react-hook-form/react-hook-form

Thanks

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

2 participants