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

UNSAFE_componentWillReceiveProps in strict mode is not recommended #1137

Closed
unional opened this issue Mar 27, 2022 · 3 comments
Closed

UNSAFE_componentWillReceiveProps in strict mode is not recommended #1137

unional opened this issue Mar 27, 2022 · 3 comments

Comments

@unional
Copy link

unional commented Mar 27, 2022

Describe the bug

Getting this warning when running the code in React.StrictMode:

<React.StrictMode>
  <CommandPalette ... />
</React.StrictMode>
Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Desktop (please complete the following information):

  • OS: Windows
  • Browser chrome
@unional unional closed this as completed Mar 27, 2022
@unional unional reopened this Mar 27, 2022
@unional
Copy link
Author

unional commented Mar 27, 2022

Same issue as #804

@unional
Copy link
Author

unional commented Mar 27, 2022

@unional
Copy link
Author

unional commented Apr 15, 2022

Close as dup of #804
Caused by moroshko/react-autosuggest#624

@unional unional closed this as completed Apr 15, 2022
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

No branches or pull requests

1 participant