サンプル
Show which values from a React tree survive and which are dropped or reshaped by server stringification boundaries.
sha256:53d4afb16af1cea0fef82d0f97561097002440717618ddb62d5d5134f7928c04
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- Show which values from a React tree survive and which are dropped or reshaped by server stringification boundaries. HOW
- パッケージ
- react 19.2.8 react-dom 19.2.8
- 環境
- node
- 作成日
- 2026-08-17T03:18:20Z
よくある思い込み
Any React element rendered with react-dom/server should preserve all props and child boundaries in a stable textual shape.
このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。
コントラクト
- assert react-dom/server.renderToString inserts hydration separator comments for mixed renderable children where renderToStaticMarkup removes those separators.
- assert event-handler props, ref, key metadata, and false boolean host props are stripped from renderToString output.
- assert explicit HTML-host props and textual child data still round-trip as rendered attributes and text content.
ファイル
- 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-17 · ed25519:d91480838ac982c9