React-native-gesture-handler: componentWillUpdate is deprecated

Created on 11 Jul 2019  路  22Comments  路  Source: software-mansion/react-native-gesture-handler

Getting warning in component Swipeable componentWillUpdate is deprecated with react native version 0.60

Most helpful comment

componentWillUpdate Is updated on master, you have to wait for next release :)

All 22 comments

same issue

Warning: componentWillUpdate is deprecated and will be removed in the next major version. Use componentDidUpdate instead. As a temporary workaround, you can rename to UNSAFE_componentWillUpdate.

    Please update the following components: DrawerLayout

    Learn more about this warning here:
    https://fb.me/react-async-component-lifecycle-hooks
"react": "16.8.6",
"react-native": "0.60.3",
"react-native-gesture-handler": "^1.3.0",

same issue

+1

+1
"react": "16.8.6",
"react-native": "0.60.4",
"react-native-gesture-handler": "^1.3.0",
"react-navigation": "^3.11.1",

I'm trying to use createDrawerNavigator

+1

componentWillUpdate Is updated on master, you have to wait for next release :)

+1

componentWillUpdate Is updated on master, you have to wait for next release :)

Actually, it will not rise the warning thanks to : UNSAFE_componentWillUpdate. It's more like a workaround than an update.
Better than nothing, we'll have to wait the following release :)

@K0rdan Sure. Look #655

Any news?

it worked for me:
https://medium.com/@jeancabral/https-medium-com-rocketseat-usando-react-native-gesture-handler-com-a-versao-0-60-do-react-native-17b4ec8343bb

+1

+1

+1

waiting the update

same here waiting the update, thanks

Hi when it's new release ? thanks

Hoping to see a fix for this as well.

waiting the update

Waiting for an update on this as well.

Any news on this? I'm still getting the warning message.

Fixed on master.

Was this page helpful?
0 / 5 - 0 ratings