Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

componentWillReceiveProps has been renamed, and is not recommended for use #49

Closed
essenbee2 opened this issue Jun 20, 2021 · 1 comment · Fixed by #50
Closed

componentWillReceiveProps has been renamed, and is not recommended for use #49

essenbee2 opened this issue Jun 20, 2021 · 1 comment · Fixed by #50

Comments

@essenbee2
Copy link

Console shows this warning for the SearchField component:

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Looks like this will cause the component not to work in React 18.

@nutboltu
Copy link
Owner

nutboltu commented Jul 8, 2021

@essenbee2 version 2.0.0 converts the class component to functional and also uses hooks. It will fix this issue.

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

Successfully merging a pull request may close this issue.

2 participants