-
Notifications
You must be signed in to change notification settings - Fork 85
Wrong CSS Chunk Reloading in Webpack 4 #75
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
Comments
rolled everything back to webpack3 spec and things worked as expected. would be awesome to see the demo upgraded to webpack 4. https://github.com/faceyspacey/universal-demo |
I’m working on the universal demo |
Hi, I faced exactly the same issue. |
Don’t use hashing with HMR. If you are, which it sounds like you might me |
I'm actually not familiar with internals, so we might talk about different hashes. As a temporary solution, I turn off the reloaded check in the
it at least working 👐 the problem here is that For better understanding here is the rough component tree:
I updating
But I think in the end HMR should reload Any thought on that issue? |
So sounds like different issues but the problem that spawned this ticket was not splitting out common chunks and only have entry and split chunks so the JS could load Async and the JS not loading in the right order to register with webpack properly. I got around this by only loading the main bundle and then using the preload function in universal react component to register bundles before rendering my app
|
I'm using the latest version of this plugin (3.0.5) along with WebPack 4 and react-univeral-component, however whenever i try and update a chunked scss in dev file it detects the file that changed but still reloads just the main.scss file. any idea what could be causing this?
Console
HomePage:
Application:
The text was updated successfully, but these errors were encountered: