react/packages/react-dom/npm
Sebastian Markbåge 473522093d
[Fizz] Add resumeAndPrerender to Static Rendering (#30950)
This is only in the same experimental exports as `resume`. Useful with
Postpone/Halt.

We already have `prerender()` to create a partial tree with postponed
state. We also have `resume()` to dynamically resume such a tree.

This lets you do a new prerender by resuming an already existing
postponed state. Basically creating a chain of preludes. The next
prelude would include the scripts to patch up the document.

This mostly just works since both prerender and resume are already
implemented using the same code so we just enable both at the root. I'm
sure we'll find some edge cases since this wasn't considered when it was
first written but so far I've only found an unrelated existing bug with
`keyPath` fixed here.
2024-09-12 10:51:01 -04:00
..
client.js [react-dom] move all client code to react-dom/client (#28271) 2024-04-24 08:50:32 -07:00
client.react-server.js [DOM] disallow client entrypoints with react-server condition (#28784) 2024-04-08 15:37:06 -07:00
index.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
profiling.js [react-dom] move all client code to react-dom/client (#28271) 2024-04-24 08:50:32 -07:00
profiling.react-server.js [DOM] disallow client entrypoints with react-server condition (#28784) 2024-04-08 15:37:06 -07:00
react-dom.react-server.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
server.browser.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
server.bun.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
server.edge.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
server.js Drop Haste (#11303) 2017-10-25 02:55:00 +03:00
server.node.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
server.react-server.js [DOM] disallow client entrypoints with react-server condition (#28784) 2024-04-08 15:37:06 -07:00
static.browser.js [Fizz] Add resumeAndPrerender to Static Rendering (#30950) 2024-09-12 10:51:01 -04:00
static.edge.js [Fizz] Add resumeAndPrerender to Static Rendering (#30950) 2024-09-12 10:51:01 -04:00
static.js Add entry points for "static" server rendering passes (#24752) 2022-06-18 22:34:31 -04:00
static.node.js [Fizz] Add resumeAndPrerender to Static Rendering (#30950) 2024-09-12 10:51:01 -04:00
static.react-server.js [DOM] disallow client entrypoints with react-server condition (#28784) 2024-04-08 15:37:06 -07:00
test-utils.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
unstable_testing.js Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
unstable_testing.react-server.js [DOM] disallow client entrypoints with react-server condition (#28784) 2024-04-08 15:37:06 -07:00