react-native-picker-select
react-native-picker-select copied to clipboard
After update expo got error Error: Invalid hook call
Describe the bug
after i update my expo project i got error invalid hook call, before this it working fine
To Reproduce
if i open screen and call component RNPickerSelect (using simple code like example) now got error
Expected behavior
showing select picker
Screenshots
Additional details
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- react-native-picker-select version:8.0.4
- react-native version: 0.72.4
- expo sdk version: [e.g. 38 or n/a]
Duplicated #509
I solved this running the commands in the second and third comment.