Files
Nathan Nguyen 2a8d51233a fix: rewrite Flight HL stylesheet hints during client-side navigation (#560)
* fix: rewrite Flight HL "stylesheet" hints at the stream source

React Flight emits HL hints with "stylesheet" for CSS, but the HTML
spec requires "style" for <link rel="preload">. The previous fix only
covered SSR-embedded Flight data, leaving client-side navigation,
server actions, and HMR with invalid preload hints.

Wrap renderToReadableStream in app-rsc-entry.ts with a line-buffered
TransformStream that rewrites hints at the source — one fix that
covers all consumers. Remove the now-redundant fixFlightHints from
the SSR embed transform.

Closes #558

* chore: retrigger CI

---------

Co-authored-by: James <james@eli.cx>
2026-03-17 13:23:14 +00:00
..
2026-02-24 09:29:39 -06:00

vinext

This file is overwritten from the repo root README.md during prepack. Edit the root README.md instead.