software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
5.85k stars 954 forks source link

componentWillUpdate is deprecated #683

Closed YajanaRao closed 3 years ago

YajanaRao commented 4 years ago

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

Fajrin-Mahyuddin commented 4 years ago

same issue

rochapablo commented 4 years ago
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",
ghost commented 4 years ago

same issue

Bruno-Furtado commented 4 years ago

+1

AdrianoRicardo commented 4 years ago

+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

ThatoMahlatji commented 4 years ago

+1

chillios-dev commented 4 years ago

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

honter36 commented 4 years ago

+1

K0rdan commented 4 years ago

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 :)

chillios-dev commented 4 years ago

@K0rdan Sure. Look #655

AdrianoRicardo commented 4 years ago

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

Ovi commented 4 years ago

+1

cristianoccazinsp commented 4 years ago

+1

eddskt commented 4 years ago

+1

deyanmakedonski commented 4 years ago

waiting the update

Piero87 commented 4 years ago

same here waiting the update, thanks

jonathanmachado commented 4 years ago

Hi when it's new release ? thanks

janpe commented 4 years ago

Hoping to see a fix for this as well.

Monstrik commented 4 years ago

waiting the update

Zloka commented 4 years ago

Waiting for an update on this as well.

butri71 commented 4 years ago

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

jakub-gonet commented 3 years ago

Fixed on master.