Sample
Choose between renderToString and renderToStaticMarkup without breaking hydration
sha256:d2d2a344c3d423d5725df086dd3263d1813bf6519cd592f5302c538364efc8b2
CROSS_PASS
L4_CROSS_PASS
MIT-0
Case
- Goal
- Choose between renderToString and renderToStaticMarkup without breaking hydration FIX
- Packages
- react 19.2.8 react-dom 19.2.8
- Environment
- node 22
- Created
- 2026-08-13T18:13:46Z
Contract
- render a component whose children include adjacent text nodes
- assert renderToString emits a comment separator at the text boundary
- assert renderToStaticMarkup omits it and is otherwise identical
- assert interpolated text is HTML-escaped
Files
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf