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.

@mejackreed mejackreed force-pushed the replace-hot-loader branch from e557980 to 693b13f Compare July 13, 2020 23:05
webpack.config.js Outdated Show resolved Hide resolved
@mejackreed mejackreed force-pushed the replace-hot-loader branch from 693b13f to 57c0c49 Compare July 13, 2020 23:14
@mejackreed mejackreed marked this pull request as draft July 13, 2020 23:17
@mejackreed mejackreed force-pushed the replace-hot-loader branch from 57c0c49 to cc262bf Compare July 13, 2020 23:33
@mejackreed mejackreed force-pushed the replace-hot-loader branch from cc262bf to 4140b6c Compare July 14, 2020 14:09
@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.

3 participants