React-native-picker-select: Picker has been extracted from react-native core

Created on 11 Apr 2020  路  2Comments  路  Source: lawnstarter/react-native-picker-select


Describe the bug

Not so much a bug, but deprecation warning in the latest version of react native (.62).

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:

  1. Create a new react native project, version .62
  2. Run any example
  3. See yellow warning box notifying deprecation

Expected behavior

No yellow warning box

Screenshots

image

Additional details

  • Device: Android Emulator, Pixel 2 XL
  • OS: Android N
  • react-native-picker-select version: 7.0.0
  • react-native version: 0.62.1
  • react version: 16.11.0

Reproduction and/or code sample

Snack react-native version is 0.53, and it's not possible to update this to 0.62.1.


duplicate

Most helpful comment

Can you link the duplicate issue, please - so I can follow it?

I think it may be related to this issue and this PR

All 2 comments

Can you link the duplicate issue, please - so I can follow it?

Can you link the duplicate issue, please - so I can follow it?

I think it may be related to this issue and this PR

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gregogalante picture gregogalante  路  4Comments

alexborton picture alexborton  路  6Comments

jenniferburch picture jenniferburch  路  4Comments

Hristijan95 picture Hristijan95  路  4Comments

dkniffin picture dkniffin  路  3Comments