rsnext/packages/next/build/webpack/loaders
Gerald Monaco df29561ae3
Use renderToStream with React 18 (#34106)
As per React 18 recommendation, we should use e.g. `renderToReadableStream` whenever we use `createRoot`. This is particularly important for currently supported suspense features like `React.lazy` to work properly during SSR.

However, unless you have opted in to streaming support (via [the `runtime` flag](https://github.com/vercel/next.js/pull/34068)), we will wait until `onCompleteAll` before sending it (via the `generateStaticHTML` flag).

---

Fixes #33879
2022-02-08 19:39:27 +00:00
..
css-loader fix: data url handling in css-loader (#34034) 2022-02-06 11:10:14 -06:00
next-middleware-ssr-loader Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
next-serverless-loader Use renderToStream with React 18 (#34106) 2022-02-08 19:39:27 +00:00
next-style-loader Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
postcss-loader Lazy-load postcss (#31762) 2021-11-25 18:41:20 +01:00
resolve-url-loader Move resolve-url-loader into Next.js (#32932) 2022-01-02 16:16:17 -06:00
error-loader.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
next-client-pages-loader.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
next-flight-client-loader.ts fix: arrow function export in rsc client component (#34105) 2022-02-08 19:09:47 +00:00
next-flight-server-loader.ts Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
next-image-loader.js use loader-utils 2 for resolve-url-loader to fix ./data: urls in sass (#31134) 2021-11-08 18:37:25 +00:00
next-middleware-loader.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
next-swc-loader.js Update yarn PnP tests and disable swc file reading for PnP (#33236) 2022-01-14 09:43:30 -06:00
noop-loader.ts feat: webpack inlining with configuration for v4 / v5 (#20598) 2021-01-13 20:59:08 -05:00