react-native-gesture-handler icon indicating copy to clipboard operation
react-native-gesture-handler copied to clipboard

componentWillUpdate is deprecated

Open YajanaRao opened this issue 7 years ago • 22 comments

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

YajanaRao avatar Jul 11 '19 06:07 YajanaRao

same issue

Fajrin-Mahyuddin avatar Jul 16 '19 03:07 Fajrin-Mahyuddin

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",

rochapablo avatar Jul 18 '19 16:07 rochapablo

same issue

ghost avatar Jul 20 '19 20:07 ghost

+1

Bruno-Furtado avatar Jul 21 '19 02:07 Bruno-Furtado

+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

AdrianoRicardo avatar Jul 21 '19 03:07 AdrianoRicardo

+1

ThatoMahlatji avatar Jul 23 '19 20:07 ThatoMahlatji

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

ice-chillios avatar Jul 23 '19 20:07 ice-chillios

+1

honter36 avatar Jul 24 '19 01:07 honter36

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 avatar Jul 24 '19 15:07 K0rdan

@K0rdan Sure. Look #655

ice-chillios avatar Jul 24 '19 17:07 ice-chillios

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

AdrianoRicardo avatar Aug 03 '19 22:08 AdrianoRicardo

+1

Ovi avatar Aug 06 '19 00:08 Ovi

+1

cristianoccazinsp avatar Aug 08 '19 16:08 cristianoccazinsp

+1

eddskt avatar Aug 12 '19 17:08 eddskt

waiting the update

deyanmakedonski avatar Aug 13 '19 09:08 deyanmakedonski

same here waiting the update, thanks

Piero87 avatar Aug 16 '19 16:08 Piero87

Hi when it's new release ? thanks

jonathanmachado avatar Aug 18 '19 21:08 jonathanmachado

Hoping to see a fix for this as well.

janpe avatar Sep 17 '19 07:09 janpe

waiting the update

Monstrik avatar Oct 03 '19 18:10 Monstrik

Waiting for an update on this as well.

Zloka avatar Jan 13 '20 13:01 Zloka