ascoders / react-native-image-viewer

🚀 tiny & fast lib for react native image viewer pan and zoom
MIT License
2.44k stars 578 forks source link

Usage of deprecated react methods #350

Closed saurabh1234 closed 4 years ago

saurabh1234 commented 4 years ago

Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Please update the following components: ImageViewer

setUpDeveloperTools.js:73 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Please update the following components: ImageViewer

When can we expect this to be updated ?

janva255 commented 4 years ago

+1

ascoders commented 4 years ago

PR welcome.

ArtemKolichenkov commented 4 years ago

@ascoders I will take a look at it right now, should be straightforward fix. Also expo SDK seems to be not updated in ages and demo does't run on recent expo app version, will take care of it too if you don't mind.

ksetrin commented 4 years ago

@ascoders did you update npm after the merge?