Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Weird bug with code splitting on initial page load #43

Closed
Bram-Zijp opened this issue Apr 26, 2018 · 2 comments
Closed

Weird bug with code splitting on initial page load #43

Bram-Zijp opened this issue Apr 26, 2018 · 2 comments

Comments

@Bram-Zijp
Copy link

When I load page 1 with chunks: main.js main.css 1.js 1.css and I change something part of chunk 1.css, the main.css gets reloaded.
When I load page 1 then navigate (with react-router-dom) to page 2 wich adds 2.js 2.css to the head, and I change something in 2.css, 2.css is hot reloading fine.

I'm using react-loadable to split chunks automatically but this probably unrelated.

"css-hot-loader": "^1.3.9",
 "mini-css-extract-plugin": "^0.4.0",
"webpack": "^4.6.0",
"react-loadable": "^5.3.1",
@ScriptedAlchemy
Copy link

@shepherdwind
Copy link
Owner

#44

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants