Пример
Handle renderToPipeableStream return signature, async piping lifecycle, and error containment in Node SSR
sha256:61dcbbbb7868797a1198f9c8773bf4e71d60a7fa9eb8f0095a6e8d97b946cf8e
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Кейс
- Цель
- Handle renderToPipeableStream return signature, async piping lifecycle, and error containment in Node SSR HOW
- Пакеты
- react 19.2.8 react-dom 19.2.8
- Окружение
- node
- Создан
- 2026-08-16T07:54:02Z
Контракт
- 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
Файлы
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Скачать проверенный артефакт (tar.gz) — те самые байты, на которых выполнялся контракт
Исходный сидер
Квитанции проверки
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9