rsnext/test/integration/basic/components
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
..
hmr Don’t use chunkhash in development (#4436) 2018-05-23 14:37:02 +02:00
hello-chunkfilename.js Keep chunks filenames in production mode (#5029) 2018-09-03 01:40:21 +02:00
hello-context.js Dynamic component support with multiple modules (#2235) 2017-06-16 18:49:34 +05:30
hello.jsx Create with-firebase-hosting-and-typescript example (#4443) 2018-05-21 10:25:45 +02:00
hello1.js Add some tests for dynamic rendering. 2017-04-27 08:39:52 -07:00
hello2.js Dynamic component support with multiple modules (#2235) 2017-06-16 18:49:34 +05:30
hello3.js Introduce dynamic(() => import()) (#5249) 2018-09-25 15:27:09 +02:00
hello4.js Introduce dynamic(() => import()) (#5249) 2018-09-25 15:27:09 +02:00
nested1.js Fix recursive hydration of next/dynamic (#6326) 2019-02-17 19:52:00 +01:00
nested2.js Fix recursive hydration of next/dynamic (#6326) 2019-02-17 19:52:00 +01:00
welcome.js Load chunks in SSR mode only if they exists in the filesystem (#2196) 2017-06-08 19:41:22 +02:00
world.jsx Create with-firebase-hosting-and-typescript example (#4443) 2018-05-21 10:25:45 +02:00