mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
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. |
||
|---|---|---|
| .. | ||
| client.js | ||
| client.react-server.js | ||
| index.js | ||
| profiling.js | ||
| profiling.react-server.js | ||
| react-dom.react-server.js | ||
| server.browser.js | ||
| server.bun.js | ||
| server.edge.js | ||
| server.js | ||
| server.node.js | ||
| server.react-server.js | ||
| static.browser.js | ||
| static.edge.js | ||
| static.js | ||
| static.node.js | ||
| static.react-server.js | ||
| test-utils.js | ||
| unstable_testing.js | ||
| unstable_testing.react-server.js | ||