Warning: Picker has been extracted from react-native core
See original GitHub issueDescribe the bug
Importing and using the Picker component causes the following warning:
Warning: Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/picker' instead of 'react-native'. See https://github.com/react-native-community/react-native-picker
To Reproduce
Steps to reproduce the behavior:
Using "react-native": "^0.62.2"
just import import RNPickerSelect from "react-native-picker-select"
and render it.
Expected behavior
No warning
Screenshots
n/a
Additional details
- Device: Android
- OS: Ubuntu
- react-native-picker-select version: 7.0.0
- react-native version: 0.62.2
- react version: 16.13.1
Reproduction and/or code sample
Example app: https://github.com/AregShahbazian/RNPickerSelectBug
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:10
Top Results From Across the Web
Picker has been extracted from react-native core #3114 - GitHub
Warning: Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and imported...
Read more >Picker has been removed from React Native. It can now be ...
ERROR Invariant Violation: Picker has been removed from React Native. It can now be installed and imported from '@react-native-picker/picker' instead of 'react- ......
Read more >@react-native-community/picker - npm package | Snyk
The npm package @react-native-community/picker was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed ...
Read more >fulcro 2021-11-26 | Slack Archive
Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from ......
Read more >react-native-date-picker null is not an object - You.com | The search ...
ERROR Warning: Picker has been extracted from react-native core and will be removed in a future release. It can now be installed and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This module use version 1.6.0 of react-native picker. “@react-native-community/picker”: “1.6.0”, If modify this version to latest version then it will work. In my case the version is 1.8.1.
any update ?