mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
dd9811b206
Fixes #5347 The main issue is that we were waiting only 1 level of dynamic imports, so the dynamic imports nested inside other dynamic import files were not awaited. This would cause either a flash of loading states or you wouldn't see the loading state (because of preload) but it would then show a hydration warning in development. Thanks to @arthens for providing the reproduction that I modelled the tests after. |
||
---|---|---|
.. | ||
hmr | ||
hello-chunkfilename.js | ||
hello-context.js | ||
hello.jsx | ||
hello1.js | ||
hello2.js | ||
hello3.js | ||
hello4.js | ||
nested1.js | ||
nested2.js | ||
welcome.js | ||
world.jsx |