Skip to content

docs: mention TanStack Query in design docs - #26

Merged
iskhakovt merged 2 commits into
mainfrom
docs/tanstack-query-mentions
Apr 12, 2026
Merged

iskhakovt merged 2 commits into
mainfrom
docs/tanstack-query-mentions

Conversation

@iskhakovt

Copy link
Copy Markdown
Owner

Summary

  • Add TanStack Query v5 + @trpc/tanstack-react-query to the DESIGN.md stack table
  • Document client-side data fetching patterns (useSuspenseQuery, useMutation with cache invalidation, useSubscription with setQueryData) in the real-time delivery section
  • Update design/sync.md: client logic now describes useSyncQueue wrapping useMutation, local storage section reflects the localStorage/TanStack Query cache split, partner status delivery explains how subscriptions feed the query cache

Closes the doc gap from #9.

Test plan

  • Docs-only change, no code affected

🤖 Generated with Claude Code

The migration to TanStack Query v5 + @trpc/tanstack-react-query landed
in #9 but the design docs still described the old hand-rolled state
pattern. Update the stack table, real-time delivery section, client
logic, local storage split, and partner status delivery to reflect the
current useSuspenseQuery / useMutation / useSubscription patterns.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Apr 12, 2026 •

Copy link
Copy Markdown

Warning

Rate limit exceeded

@iskhakovt has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 0 minutes and 25 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 0 minutes and 25 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 62344893-ed0e-4739-8fb0-3db7e84d6a39

📥 Commits

Reviewing files that changed from the base of the PR and between 26428fd and 89e941b.

📒 Files selected for processing (3)
  • DESIGN.md
  • design/sync.md
  • todo.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/tanstack-query-mentions

Comment @coderabbitai help to get the list of available commands and usage tips.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@iskhakovt
iskhakovt enabled auto-merge (squash) April 12, 2026 09:57
@iskhakovt
iskhakovt merged commit 9169e7c into main Apr 12, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.5.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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