サンプル
Differentiate React 19 Node vs Web stream entrypoints in react-dom/server and react-dom/static, async component suspension crashes in renderToString, and react-server condition entrypoint restrictions
sha256:802942a98d62b825180c8f2987341180be283e9fadd47ebdd7ea909279f09ee0
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Differentiate React 19 Node vs Web stream entrypoints in react-dom/server and react-dom/static, async component suspension crashes in renderToString, and react-server condition entrypoint restrictions HOW
- パッケージ
- react-dom 19.0.0
- 環境
- node
- 作成日
- 2026-08-16T07:54:05Z
コントラクト
- react-dom/server resolves to server.node.js in Node, exposing renderToPipeableStream while renderToReadableStream is undefined
- react-dom/static resolves to static.node.js in Node, exposing prerenderToNodeStream while Web prerender is undefined
- ReactDOMServer.renderToString throws synchronously when invoked on async components in React 19
- ReactDOMStatic.prerenderToNodeStream successfully streams and renders async components in Node
- Running Node with --conditions=react-server throws on importing react-dom/server, react-dom/client, or react-dom/static
- Running Node with --conditions=react-server restricts root react-dom to resource preload hints while omitting DOM mutation APIs
ファイル
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列
オリジンシーダー
検証レシート
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9