rsnext/test/e2e/app-dir
Jiachi Liu 6352257dd3
Alias next/dynamic to lazy impl for appDir (#41216)
Since `next/dynamic` has client hooks that not compatible with server
components, and app renderer doesn't provide context (such as
`LoadableContext`) for it to use. Previously we provided a simple
replacement using `React.lazy` for `next/dynamic` if you want to use it
in appDir.

This PR always alias it to the `React.lazy ` implementation for appDir
so that user won't need to worry about the dynamic options. They can
only use `dynamic()` without 2nd options arg

```js
import dynamic from 'next/dynamic'

const Dynamic = dynamic(() => import('./dynamic-component'))
```
2022-10-06 17:41:27 +02:00
..
app Alias next/dynamic to lazy impl for appDir (#41216) 2022-10-06 17:41:27 +02:00
app-alias Check required root layout tags (#41120) 2022-10-03 19:27:16 +00:00
app-edge Handle hmr for edge ssr in app dir (#41156) 2022-10-04 14:03:20 +00:00
app-prefetch Remove unnecessary experimental flag (#40766) 2022-09-21 21:30:46 +02:00
app-rendering Remove unnecessary experimental flag (#40766) 2022-09-21 21:30:46 +02:00
app-static Update return shape of generateStaticParams (#40965) 2022-09-27 13:51:07 -07:00
asset-prefix Remove unnecessary experimental flag (#40766) 2022-09-21 21:30:46 +02:00
next-font Add support for fallback font and css variable for font/local (#40990) 2022-09-28 12:19:52 -07:00
root-layout Check required root layout tags (#41120) 2022-10-03 19:27:16 +00:00
rsc-basic Alias next/dynamic to lazy impl for appDir (#41216) 2022-10-06 17:41:27 +02:00
rsc-external Alias next/dynamic to lazy impl for appDir (#41216) 2022-10-06 17:41:27 +02:00
trailingslash Remove unnecessary experimental flag (#40766) 2022-09-21 21:30:46 +02:00
with-babel Fix SWC loader ignore for the server layer when Babel is used (#40939) 2022-09-27 11:31:25 +02:00
app-alias.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
app-edge.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
app-static.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
asset-prefix.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
index.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
next-font.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
prefetching.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
rendering.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
root-layout.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
rsc-basic.test.ts Alias next/dynamic to lazy impl for appDir (#41216) 2022-10-06 17:41:27 +02:00
rsc-external.test.ts Alias next/dynamic to lazy impl for appDir (#41216) 2022-10-06 17:41:27 +02:00
trailingslash.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
vercel-analytics.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00
with-babel.test.ts Fix latest experimental react and experimental-edge and unpin test versions (#41200) 2022-10-05 21:27:47 +00:00