-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
fix(HOCs): update Using UNSAFE_componentWillReceiveProps in strict mode warning with ^17.0.1 #1059
Comments
Is there any solution on this? Its stopping me from using Strict Mode on my React project, despite having latest react-redux-firebase. |
I think that the options are to dive into the code and check if the HOC can be fixed and for pull request, wait until its fixed, which does not seem immediate, or use a react hook to set the listener to the database yourself, that would involve change the approach for that specific component to remove the usage of redux replace by a react hook...this involves also the presumable propagation of hooks usage in your app, as you will need to make this replacement for all the components that need to listen to the database info.... |
Is there any solution? I'm trying to maintain old projects and facing this issue. |
Hi, I have the same issue in |
Bug report
Steps
Use firestoreConnect with [email protected] and react@^17.0.1 in a project with react strict mode.
Open your console to see the warnings
Expected Result
No warnings should appear even with react strict mode.
Actual Result:
This is the code producing the warning:
codesandbox link
The text was updated successfully, but these errors were encountered: