pankod / react-native-picker-modal-view

An unified React Native Picker Modal component for iOS and Android.
204 stars 56 forks source link

Deprecated lifecycle methods #33

Closed JWW87 closed 5 years ago

JWW87 commented 5 years ago

Hi there!

I have installed this module and it's working great. However, I get two warnings for deprecated lifecycle methods (I'm on React Native v0.60):

Warning: componentWillMount is deprecated and will be removed in the next major version. 
Use componentDidMount instead. 
As a temporary workaround, you can rename to UNSAFE_componentWillMount.
Please update the following components: ModalComponent

Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. 
Use static getDerivedStateFromProps instead.
Please update the following components: ModalComponent

Could you please solve this? Thanks in advance.

issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.57. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

omeraplak commented 5 years ago

Hi @BT1987 , Thanks for reaching us. We have added this feature to our backlog. We’ll update it soon.

biskuvit commented 5 years ago

Hi @BT1987 , We’ve launched 1.2.6 version on NPM. Feel free to contact us if you need anything.