We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
webpack-hot-middleware
Hello, I'd like to report an issue with HMR when using webpack-hot-middleware.
Here's the repro — https://github.com/plesiecki/preact-hmr-middlewares-repro.
Infinite re-rendering happens when I edit imported but unused component, like Test in the example below.
Test
import { h } from 'preact'; import { Test } from './Test'; export function App() { const boom = <Test/>; console.log('render App'); return ( <div> <h1>App function</h1> </div> ); }
webpack-dev-server
react
The text was updated successfully, but these errors were encountered:
We might need to do something similar to pmmmwh/react-refresh-webpack-plugin#23 to make this work as the socket integration seems different
Sorry, something went wrong.
No branches or pull requests
Hello, I'd like to report an issue with HMR when using
webpack-hot-middleware
.Repro
Here's the repro — https://github.com/plesiecki/preact-hmr-middlewares-repro.
Infinite re-rendering happens when I edit imported but unused component, like
Test
in the example below.Example
Additional info
webpack-dev-server
react
+webpack-hot-middleware
setupThe text was updated successfully, but these errors were encountered: