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

SelectInput produces warning about UNSAFE_componentWillReceiveProps in strict mode #697

Closed
taylorhummon opened this issue Feb 14, 2022 · 1 comment

Comments

@taylorhummon
Copy link

I'm seeing a warning in my console log,

Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. ...

when I'm using react's strict mode: <React.StrictMode>.

This appears to be caused by the react-select's <Select> component and was resolved in v4:
JedWatson/react-select#4094

Best,
Ben

@taylorhummon
Copy link
Author

Actually, v4 of react-select also emits warnings for strict mode:
JedWatson/react-select#4068

This one, at least, is fixed in v5.

It's occurring to me that we may not support React StrictMode. If that's the case, sorry for the noise.

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

2 participants