issue when using webpack-hot-middleware
See original GitHub issueReproduction
Can’t share my repo as it’s internal on the company but we are using
https://github.com/webpack-contrib/webpack-hot-middleware
To hot reload the app; We upgraded to version 10.3.4
of preact and everything worked just fine, but on version 10.4.0
something is making the __webpack_hmr
event to hang indefinitely.
Did anything related to webpack processing changed? I know this is a longshot but I wanted to see if something changed.
Expected Behavior
Our app to load!
Actual Behavior
Our app never loads and it hangs in there indefinitely.
Feel free to close if it’s too vague, for now we’ll probably lock to 10.3.4
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Issues · webpack-contrib/webpack-hot-middleware - GitHub
Webpack hot reloading you can attach to your own server - Issues · webpack-contrib/webpack-hot-middleware.
Read more >webpack-hot-middleware - npm
Start using webpack-hot-middleware in your project by running `npm i webpack-hot-middleware`. There are 2236 other projects in the npm ...
Read more >Top 5 webpack-hot-middleware Code Examples - Snyk
To help you get started, we've selected a few webpack-hot-middleware examples, based on popular ways it is used in public projects. Secure your...
Read more >Development - webpack
webpack -dev-middleware is a wrapper that will emit files processed by webpack to a server. This is used in webpack-dev-server internally, however it's...
Read more >How to use Webpack Hot Middleware / Webpack Hot Reload ...
It seems, webpack hot-module-replacement always tries to make its hmr endpoint (I think the websocket for detecting/serving changes) hardcoded ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We don’t know if our problem is related to this, but since
10.4.0
our Lazy components stopped working, nothing is rendered, and we need to resize our browser horizontally (!) to make it rendered. It’s a simple Suspense + Lazy. We did try with returning a simple string only in our Lazy component, not working. With10.3.4
everything’s fine. Something is definitely wrong with the new version. We’re still investigating, I’ll post new details later/create new issue if we know more. (We’re using compat).Just to comment, we also load lazily our components using https://github.com/faceyspacey/react-universal-component; I’ll try to make something as well to see if I can reproduce