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

Updated: Support React-Hot-Loader compatibility #1168

Merged
merged 2 commits into from Jan 20, 2019

Conversation

markerikson
Copy link
Contributor

Rebased version of #1137 , by @theKashey.

Perf benchmarks indicate no noticeable difference in performance.

Tagging @timdorr , @shahzaibkhalid , and @glenjamin who were participating in the other thread.

theKashey and others added 2 commits January 20, 2019 16:54
The test runner script tried to pass the Jest config as
stringified JSON, but that was breaking for me somehow.

Sidestepped the problem by writing the settings to disk instead
and pointing Jest to that file.
@netlify
Copy link

netlify bot commented Jan 20, 2019

Deploy preview for react-redux-docs ready!

Built with commit d78dd73

https://deploy-preview-1168--react-redux-docs.netlify.com

@markerikson
Copy link
Contributor Author

And merging.

@markerikson markerikson merged commit 6e0a106 into master Jan 20, 2019
@markerikson
Copy link
Contributor Author

@timdorr : might as well go ahead and put out 6.0.1 with this and the "is it a real context?" change.

@theKashey
Copy link

👍

@ericdfields
Copy link

Thank you!

@timdorr timdorr deleted the support-react-hot-loader branch January 22, 2019 15:17
@hhaidar
Copy link

hhaidar commented Feb 14, 2019

💯 to 6.0.1

@GerryFudd
Copy link

Looks like react-redux 7.0.0 causes connected components to not load when used with react-hot-loader. Should that be filed as a separate ticket or should this one be re-opened?

@theKashey
Copy link

theKashey commented Jun 7, 2019

Please update react-hot-loader to the latest version (4.9.0, released a week ago) which does support hooks hot reloading, v7 is based on.
Any older version would have issues with react-redux v7.

webguru7 pushed a commit to webguru7/react-redux that referenced this pull request Dec 8, 2022
* fix: react-hot-loader compatibility

* Fix test runner breaking

The test runner script tried to pass the Jest config as
stringified JSON, but that was breaking for me somehow.

Sidestepped the problem by writing the settings to disk instead
and pointing Jest to that file.
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 this pull request may close these issues.

None yet

5 participants