-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Hot reloading tested in different ways and is not working properly #2985
Comments
|
|
And about react-refresh ? |
Something wrong in configuration... |
Change:
Why it is still not work? I don't know, also I found your duplicate the issue pmmmwh/react-refresh-webpack-plugin#303, don't do it in future, be patient |
@alexander-akait the problem is that I don't know if this issue is on webpack-dev-server, react-hot-loader or on react-refresh About your recommendation, after I made this change... the UI is not updating |
Problem from |
webpack-dev-server Version: ^4.0.0-beta.0 |
webpack-dev-server Version: ^4.0.0-beta.1 |
@ankurk91 Please provide reproducible test repo, your information is not help to help you |
HMR is working fine for me now, with webpack-dev-server beta 2, and vue v2 |
Fixed in beta, stable release will be soon |
Operating System: macOS Big Sur 11.2
Node Version: v14.15.4
NPM Version: 6.14.10
webpack Version: ^5.19.0
webpack-dev-server Version: ^4.0.0-beta.0
Browser: Google Chrome Version 88
This is a bug
This is a modification request
Code
Repository link: https://github.com/Ridermansb/webpack5Hot
master
branch it's using only basic webpack-dev-server configuration without any pluginsreact-hot-loader
branch it's using react-hot-loader plugin. Pull Request #1react-refresh-webpack-plugin
branch it's using pmmmwh/react-refresh-webpack-plugin webpack plugin. Pull Request #2Expected Behavior
In all case... should not reload the page and only reload the portion that's changed
Actual Behavior
It's Always reloading the entire page.
For Bugs; How can we reproduce the behavior?
Just clone the repository ridermansb/webpack5Hot
npm install
npm start
And try update
Header
componentThe text was updated successfully, but these errors were encountered: