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. |
||
---|---|---|
.. | ||
router | ||
amp.ts | ||
amphtml-context.ts | ||
constants.js | ||
dynamic.js | ||
head-manager-context.ts | ||
head.tsx | ||
loadable-capture.tsx | ||
loadable.js | ||
mitt.ts | ||
runtime-config.js | ||
side-effect.tsx | ||
utils.js |