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.

Remove componentWillReceiveProps

See original GitHub issue

Hey!

I updated my React version to 16.8.6 and see that it yields a warning for the SockJsClient component.

image

If it’s possible, I’d like to submit a PR if you don’t have time or something similar.

Thanks for the package!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lahsivjarcommented, Oct 9, 2019

Hey,

You are welcome to submit a PR, it would be a great help.

0reactions
postullatcommented, Mar 8, 2022

Hello,

Any update on this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

React17, or how to get rid of “componentWillReceiveProps”?
React17, or how to get rid of “componentWillReceiveProps”? As you may already know, with the release of React 16.3, some of legacy lifecycles...
Read more >
How to remove componentWillReceiveProps for component ...
I'm struggling with how to implement this in response to componentWillReceiveProps deprecation. React docs claim getDerivedStateFromProps should ...
Read more >
Remove use of componentWillReceiveProps for React 16 #970
Hi Since the React 16.9.0 version, the following deprecation warning about React legacy lifecycle methods appears: Warning: ...
Read more >
React.Component
This method is called when a component is being removed from the DOM: ... This lifecycle was previously named componentWillReceiveProps .
Read more >
Replacing React Lifecycle Methods with Hooks - Bits and Pieces
Therefore, we have clearInterval in that function to remove the timer from when the component unmounts. componentWillReceiveProps / ...
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