Skip to content

Conversation

hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Aug 31, 2025

Description

Summary

  • port "single worker" setup from examples/cf-single-worker to examples/react-router, namely enable loadModuleDevProxy.
  • update react-router entry.ssr to provide generateHTML, which works on "serializable" values
    • generateHTML: (url: string, headers: Headers, rscResponse: Response) => Promise<Response>
  • update utils/rpc.ts to encode/decode Headers and Response via custom turbo-stream plugins

@hi-ogawa hi-ogawa force-pushed the 08-31-feat_rsc_react-router_cloudflare_single_worker_example branch from d3ec5b9 to b34c086 Compare August 31, 2025 07:18
@hi-ogawa hi-ogawa marked this pull request as ready for review August 31, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant