spike(ui): react query + alien signals#8849
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Repository UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Replace the module-singleton client with makeQueryClient() + getMosaicQueryClient() (browser-memoized, server-fresh) so one request's cache never leaks into another. Hooks pass it explicitly, so sections still render standalone.
The hydration setTimeout also ran in Node, so the resolved promise re-threw against the permanently-null server snapshot and the boundary re-suspended in a loop — corrupting the subtree and causing a useId hydration mismatch + perpetual loading. Server now streams a stable fallback; the client owns the load.
Description
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change