rsnext/packages/next/types
Wyatt Johnson 02103feb29
onHeaders updates for App Pages (#58410)
This serves to address a few problems as it relates to headers handling within the App Page render pipeline.

1. During static generation, we should not write to the response directly as the revalidation for static responses is performed out of band from the actual request/response as a stale version can be served early. This is partially addressed by modifying the `onHeaders` to only write when there it is not during static generation, but long term I'd hope to see that we can instead pass a immutable request and `null` for the response to help indicate to the render pipeline that it should instead persist the data into the `RenderResult` objects. Alternatively, the response could use a mocked version that would then supersede the `RenderResult` and be used instead.

2. The types for rendering App Pages were merged incorrectly, so this additionally restructures the way that we initialize those renderers such that only the options that are applicable to each renderer is passed down.
2023-11-16 05:44:58 +00:00
..
compiled.d.ts Component Module Types (#56454) 2023-10-05 15:28:45 +00:00
global.d.ts make stdout blocking on macos (#51883) 2023-06-27 14:55:27 +00:00
index.d.ts Viewport exports (#57302) 2023-10-25 05:20:23 +00:00
misc.d.ts Partial Prerendering (#57287) 2023-10-24 01:13:05 +00:00
react-dom.d.ts onHeaders updates for App Pages (#58410) 2023-11-16 05:44:58 +00:00
react.d.ts Partial Prerendering (#57287) 2023-10-24 01:13:05 +00:00
webpack.d.ts enable verbatimModuleSyntax to make type imports/exports explicit (#56551) 2023-10-07 15:09:54 +00:00