rsnext/packages/next/build/webpack
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
..
config Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
loaders Use renderToStream with React 18 (#34106) 2022-02-08 19:39:27 +00:00
plugins remove unneeded and broken plugin (#34087) 2022-02-08 15:20:00 +00:00
require-hook.ts Pre-compile more dependencies (#32742) 2022-01-17 15:17:22 +00:00
stringify-request.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00