mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
[Fizz/Flight] pipeToNodeWritable(..., writable).startWriting() -> renderToPipeableStream(...).pipe(writable) (#22450)
* Rename pipeToNodeWritable to renderToNodePipe * Add startWriting API to Flight We don't really need it in this case because there's way less reason to delay the stream in Flight. * Pass the destination to startWriting instead of renderToNode * Rename startWriting to pipe This mirrors the ReadableStream API in Node * Error codes * Rename to renderToPipeableStream This mimics the renderToReadableStream API for the browser.
This commit is contained in:
committed by
GitHub
parent
bc84c79555
commit
9f41b5fa3e
@@ -401,5 +401,6 @@
|
||||
"413": "Expected finished root and lanes to be set. This is a bug in React.",
|
||||
"414": "Did not expect this call in production. This is a bug in React. Please file an issue.",
|
||||
"415": "Error parsing the data. It's probably an error code or network corruption.",
|
||||
"416": "This environment don't support binary chunks."
|
||||
"416": "This environment don't support binary chunks.",
|
||||
"417": "React currently only supports piping to one writable stream."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user