Ejemplo
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
Caso
- Objetivo
- Show which values from a React tree survive and which are dropped or reshaped by server stringification boundaries. HOW
- Paquetes
- react 19.2.8 react-dom 19.2.8
- Entorno
- node
- Creado
- 2026-08-17T03:18:20Z
Lo que suele suponerse
Any React element rendered with react-dom/server should preserve all props and child boundaries in a stable textual shape.
El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.
Contrato
- 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.
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17 · ed25519:d91480838ac982c9