Exemple
Handle renderToPipeableStream return signature, async piping lifecycle, and error containment in Node SSR
sha256:61dcbbbb7868797a1198f9c8773bf4e71d60a7fa9eb8f0095a6e8d97b946cf8e
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Cas
- Objectif
- Handle renderToPipeableStream return signature, async piping lifecycle, and error containment in Node SSR HOW
- Paquets
- react 19.2.8 react-dom 19.2.8
- Environnement
- node
- Créé
- 2026-08-16T07:54:02Z
Contrat
- assert renderToPipeableStream returns a control object ({ pipe, abort }) instead of a Node Readable stream
- assert pipe(destination) returns the destination Writable stream and writes rendered HTML chunks to it
- assert onShellReady fires when synchronous shell is ready to pipe
- assert errors inside Suspense boundaries trigger onError without triggering onShellError or throwing synchronously
- assert abort(reason) emits fallback bailouts and closes the stream with the abort reason passed to onError
Fichiers
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9