react/packages/react-server-dom-esm
Sebastian Markbåge 2cfb221937
[Flight] Allow passing DEV only startTime as an option (#34912)
When you use the `createFromFetch` API we assume that the start time of
the request is the same time as when you call `createFromFetch` but in
principle you could use it with a Promise that starts earlier and just
happens to resolve to a `Response`.

When you use `createFromReadableStream` that is almost definitely the
case. E.g. you might have started it way earlier and you don't call
`createFromReadableStream` until you get the headers back (the fetch
promise resolves).

This adds an option to pass in the start time for debug purposes if you
started the request before starting to parse it.
2025-10-19 16:38:33 -04:00
..
esm Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
npm Ship partial-prerendering APIs to Canary (#34633) 2025-10-01 18:22:30 +02:00
src [Flight] Allow passing DEV only startTime as an option (#34912) 2025-10-19 16:38:33 -04:00
client.browser.js [Flight] reorganize code for forked entrypoints (#30702) 2024-08-14 18:10:40 -07:00
client.js [Flight] Add bundler-less version of RSC using plain ESM (#26889) 2023-06-03 15:58:24 -04:00
client.node.js [Flight] reorganize code for forked entrypoints (#30702) 2024-08-14 18:10:40 -07:00
index.js [Flight] Add bundler-less version of RSC using plain ESM (#26889) 2023-06-03 15:58:24 -04:00
package.json Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
README.md [Flight] Add bundler-less version of RSC using plain ESM (#26889) 2023-06-03 15:58:24 -04:00
server.js [Flight] Add bundler-less version of RSC using plain ESM (#26889) 2023-06-03 15:58:24 -04:00
server.node.js [Flight] reorganize code for forked entrypoints (#30702) 2024-08-14 18:10:40 -07:00
static.js [Flight] Implement prerender (#30686) 2024-08-15 14:28:28 -07:00
static.node.js Ship partial-prerendering APIs to Canary (#34633) 2025-10-01 18:22:30 +02:00

react-server-dom-esm

Experimental React Flight bindings for DOM using ESM.

Use it at your own risk.