question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

componentWillUpdate is deprecated

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:28
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

11reactions
chillios-tscommented, Jul 23, 2019

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

1reaction
butri71commented, Apr 29, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

componentWillUpdate is deprecated in React, how can I ...
I replaced it with shouldComponentUpdate because that is triggered before render() method is called just like with componentWillUpdate . Share.
Read more >
React: componentWillMount to be deprecated! - Northcoders
A significant change in React v16.3.0 is the deprecation of several methods. These are: componentWillMount. componentWillRecieveProps. componentWillUpdate.
Read more >
ReactJS UNSAFE_componentWillUpdate() Method
The componentWillUpdate() method has been deprecated in the latest releases of React as per this issue. It is suggested to use ...
Read more >
Lifecycle deprecated/New Methods - React Training
If the shouldComponentUpdate function is not implemented, or it decided that the component should update in this render cycle, another life-cycle function will ......
Read more >
React.Component
In the event of an error, you can render a fallback UI with componentDidCatch() by calling setState , but this will be deprecated...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found