Skip to content

Add SSR snapshot support for web adapter SSR flows#782

Draft
schickling wants to merge 2 commits intodevfrom
codex/add-ssr-support-to-web-adapter
Draft

Add SSR snapshot support for web adapter SSR flows#782
schickling wants to merge 2 commits intodevfrom
codex/add-ssr-support-to-web-adapter

Conversation

@schickling
Copy link
Collaborator

Summary

  • add SSR snapshot helper utilities that reuse the node adapter to produce initial LiveStore state for SSR
  • extend the web persisted adapter to accept SSR payloads and seed the client session before workers boot
  • update the Redwood TodoMVC example to embed the SSR snapshot, hydrate with it on the client, and expose the payload on the global window object

Testing

  • pnpm biome check --write --unsafe

https://chatgpt.com/codex/tasks/task_e_68f8bd786ab48329a087d3b89d87f22a

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@schickling schickling marked this pull request as draft December 16, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant