mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
2a8d51233a
* 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>
vinext
This file is overwritten from the repo root README.md during prepack. Edit the root README.md instead.