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

Replace react-hot-loader with react-refresh #3213

Merged
merged 1 commit into from
Jul 14, 2020
Merged

Conversation

mejackreed
Copy link
Collaborator

@mejackreed mejackreed commented Jul 13, 2020

Per facebook/react#16604 (comment) and gaearon/react-hot-loader#1453 it seems like react-hot-loader is deprecated.

This replaces react-hot-loader w/ react-refresh and https://github.com/pmmmwh/react-refresh-webpack-plugin. I'm thinking that this implementation will be preferred as it does not keep the lingering react-hot-loader around in distributed package.

Related to #3198

This change has also been tested on IE11 for the production umd build.

@codecov-commenter
Copy link

codecov-commenter commented Jul 13, 2020

Codecov Report

Merging #3213 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3213   +/-   ##
=======================================
  Coverage   90.55%   90.55%           
=======================================
  Files         187      187           
  Lines        3155     3155           
=======================================
  Hits         2857     2857           
  Misses        298      298           
Impacted Files Coverage Δ
src/components/App.js 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa8ae19...4140b6c. Read the comment docs.

webpack.config.js Outdated Show resolved Hide resolved
@mejackreed mejackreed marked this pull request as ready for review July 14, 2020 14:09
@cbeer cbeer merged commit efcc5f3 into master Jul 14, 2020
@cbeer cbeer deleted the replace-hot-loader branch July 14, 2020 14:25
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

3 participants