-
Notifications
You must be signed in to change notification settings - Fork 801
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
Warnings when using react-redux connect #1049
Comments
That's not a bug - that's a feature of RHL v4. Meanwhile - everything is working, RHL just reporting that it could not do some replacements, but they are not needed for redux. You can ignore this message(change logLevel), or remove it using |
@theKashey In my case, I'm getting the same error and connected components (i.e. dumb components) are not hot-loaded.
|
@shahzaibkhalid - should work if pre-connected part exists as a separate variable. That's also a good idea for better testing. |
Yeah. In this case, I realized that the issue was with |
Thanks buddy, you save my day. |
Would be fixed in react-redux v6.0.1 - reduxjs/react-redux#1168 |
Description
When debug logging is enabled, warnings are generated when reloading a component that uses both
hot
andconnect
.Environment
React Hot Loader version: 4.3.4
Run these commands in the project folder and fill in their results:
node -v
: v10.8.0npm -v
: 6.3.0Then, specify:
Reproducible Demo
index.js
Test.js
Console output after performing change
Way to do it that does not cause this warning
The text was updated successfully, but these errors were encountered: