0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00

test(react-start-rsc): undocumented renderToReadableStream inputs must not break

User ruling 2026-10-18: the second `options` argument and a plain-data
model are outside React Start's public type (`renderToReadableStream(node:
React.ReactNode)`, src/flight.stub.ts) and must not break: the compiled
call still runs, the options / model reach the runtime unchanged and a
stream is produced. CSS for them and a dev warning are not required either
way.
- The D8(a) goal pin for `renderToReadableStream(<Card />, options)` becomes
  a passing test, neutral on CSS (stream with or without it).
- rsc:450 plain-data model: checks the call and its model in dev and build,
  neutral on CSS and warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Sheraff 2026-10-18 13:13:47 +02:00
commit 4d64e26ea7
No known key found for this signature in database