Skip to content

Conversation

@code-yeongyu
Copy link
Contributor

Summary

  • Remove deferStream: true from share page route to fix hydration mismatch with large session data

Problem

Share pages with large data (97KB+) render as blank pages due to SSR hydration mismatch caused by deferStream: true option.

Root Cause

deferStream: true was added in commit 95526fb (Dec 11, 2025) to fix share image meta tags, but it causes hydration timing issues with large payloads - the streamed HTML doesn't match the client-side hydrated content.

Solution

Remove deferStream: true to ensure complete HTML generation before response. The social card meta tags (added in 85c01e8) work independently of this option.

Testing

  • Tested locally with production share data (97,498 chars)
  • Share page renders correctly after fix

Related


🤖 GENERATED WITH ASSISTANCE OF OhMyOpenCode

deferStream: true causes hydration issues with large share data (97KB+).
Removing it ensures complete HTML generation before response, fixing
blank page rendering on https://opncd.ai/share/* routes.

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
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