gaearon / gaearon/react-hot-loader

HMR worked,but throw some errors in the console

Open
#1,040 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
775
PR merge metrics
No merged PRs in 30d

Description

If you are reporting a bug or having an issue setting up React Hot Loader, please fill in below. For feature requests, feel free to remove this template entirely.

### Description
HMR works well ,but there are some errors when i change the code,i wanna know why happened this and how to resolve? can someone help me? many thanks!!!

What you are reporting:
![image](https://user-images.githubusercontent.com/18349295/43597483-c7e8287e-96b4-11e8-937a-43e002701fd1.png)
### Expected behavior

What you think should happen:
I think HMR shoud work without any errors
### Actual behavior

What actually happens:
![image](https://user-images.githubusercontent.com/18349295/43597483-c7e8287e-96b4-11e8-937a-43e002701fd1.png)
### Environment

React Hot Loader version:
"react-hot-loader": "^4.3.4",
"webpack": "^4.16.4",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5"
Run these commands in the project folder and fill in their results:

1. `node -v`:10.3.0
2. `npm -v`:6.1.0

Then, specify:

1. Operating system:Windows 7
2. Browser and version:Chrome latest

### Reproducible Demo

Please take the time to create a new project that reproduces the issue.

You can copy your project that experiences the problem and start removing things until you’re left with the minimal reproducible demo. This helps contributors, and you might get to the root of your problem during that process.

Push to GitHub and paste the link here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.