Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Dropdown component should not use deprecated "componentWillUpdate" lifecycle method #55

Open
broneks opened this issue Aug 17, 2019 · 3 comments

Comments

@broneks
Copy link

broneks commented Aug 17, 2019

Problem:
componentWillUpdate is deprecated and will eventually be removed following React v17.

See warning message here:
Screen Shot 2019-08-17 at 16 23 30

Suggestion:
It would be wise to switch this method for a componentDidMount being that this block of code is adding event listeners which don't need to be re-added on/before every update.

componentWillUpdate() {

@rajan-gith
Copy link

rajan-gith commented Dec 4, 2019

how to fix this warning

@frealv
Copy link

frealv commented Jun 11, 2020

This is still an issue.

@broneks
Copy link
Author

broneks commented Jul 3, 2020

Duplicated by: #70

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants