-
Notifications
You must be signed in to change notification settings - Fork 112
fix(plugin-history-sync): add getServerSnapshot to useSyncExternalStore for SSR compatibility #643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ity (#635) Fixes SSR error "Missing getServerSnapshot, which is required for server-rendered content" by adding the third parameter to useSyncExternalStore in plugin-history-sync. The getServerSnapshot parameter is required for SSR environments to provide an initial snapshot value during server rendering. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🦋 Changeset detectedLatest commit: ac50fb1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Deploying stackflow-demo with
|
| Latest commit: |
ac50fb1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2cadc78b.stackflow-demo.pages.dev |
| Branch Preview URL: | https://claude-fix-issue-635-011cupq.stackflow-demo.pages.dev |
📝 WalkthroughSummary by CodeRabbit
Summary by CodeRabbit
WalkthroughA third argument, Changes
Sequence Diagram(s)(No diagram provided — change is a single-argument addition to a hook call; no control-flow changes.) Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1).changeset/*.md📄 CodeRabbit inference engine (AGENTS.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
stackflow-docs | ac50fb1 | Commit Preview URL | Oct 23 2025, 03:31 AM |
commit: |
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Fixes #635
Fixes SSR error "Missing getServerSnapshot, which is required for server-rendered content" by adding the third parameter to useSyncExternalStore in plugin-history-sync.
The getServerSnapshot parameter is required for SSR environments to provide an initial snapshot value during server rendering.
🤖 Generated with Claude Code