We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2150ca commit 3d8256fCopy full SHA for 3d8256f
packages/plugin-rsc/examples/react-router/react-router-vite/entry.rsc.tsx
@@ -23,8 +23,8 @@ export function fetchServer(request: Request) {
23
// The app routes.
24
routes,
25
// Encode the match with the React Server implementation.
26
- generateResponse(match) {
27
- return new Response(renderToReadableStream(match.payload), {
+ generateResponse(match, options) {
+ return new Response(renderToReadableStream(match.payload, options), {
28
status: match.statusCode,
29
headers: match.headers,
30
})
0 commit comments