Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Ridermansb/webpack5Hot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic hot reloading with webpack 5 not working properly

demo

Issues

  • It is loading the entire page

  • 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

Code

Repository link: https://github.com/Ridermansb/webpack5Hot

Expected 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.

How can we reproduce the behavior?

Just clone the repository ridermansb/webpack5Hot

  • npm install
  • npm start

And try update Header component