Files
Andrew Clark 730db756bc Convert tree prefetches to NavigationFlightResponse format (#96788)
Part of a stack of changes to convert all RSC requests to a single
unified response type, NavigationFlightResponse.

This step converts static route tree prefetches (i.e. `/_tree`
requests).

The old format could omit a dynamic param's value from the response so
that a statically served response is cacheable across param values; the
client parses the value from the URL instead. That behavior moves into
the shared decoder, where it's now permitted for any transport response.

A cached /_tree response from an older build decodes without a build id
and falls back to an MPA navigation, like any other cross-build
response. The staleTime field of the old format is not carried over
because the client never read it.
2026-08-13 18:18:22 -04:00
..