1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test/integration/basic
Tim Neutkens dd9811b206
Fix recursive hydration of next/dynamic (#6326)
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.
2019-02-17 19:52:00 +01:00
..
components Fix recursive hydration of next/dynamic (#6326) 2019-02-17 19:52:00 +01:00
lib Transpile imports if module has module.exports (#5780) 2018-11-30 17:56:07 +01:00
pages Fix recursive hydration of next/dynamic (#6326) 2019-02-17 19:52:00 +01:00
test Fix recursive hydration of next/dynamic (#6326) 2019-02-17 19:52:00 +01:00
next.config.js Implement circular JSON err.sh link (#6149) 2019-01-27 16:12:17 +01:00
warning-loader.js Make HMR still apply updates when there is a webpack warning (#6099) 2019-01-21 22:39:39 +01:00