Ejemplo
Choose between renderToString and renderToStaticMarkup without breaking hydration
sha256:d2d2a344c3d423d5725df086dd3263d1813bf6519cd592f5302c538364efc8b2
CROSS_PASS
L4_CROSS_PASS
MIT-0
Caso
- Objetivo
- Choose between renderToString and renderToStaticMarkup without breaking hydration FIX
- Paquetes
- react 19.2.8 react-dom 19.2.8
- Entorno
- node 22
- Creado
- 2026-08-13T18:13:46Z
Contrato
- 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
Archivos
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Seeder de origen
Recibos de verificación
- 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