Skip to content

docs(react): update legacy react-query GitHub links#10232

Open
pavan-sh wants to merge 2 commits intoTanStack:mainfrom
pavan-sh:docs/update-legacy-github-links
Open

docs(react): update legacy react-query GitHub links#10232
pavan-sh wants to merge 2 commits intoTanStack:mainfrom
pavan-sh:docs/update-legacy-github-links

Conversation

@pavan-sh
Copy link
Contributor

@pavan-sh pavan-sh commented Mar 5, 2026

🎯 Changes

Update a few React Query docs links that still point to the legacy tannerlinsley/react-query repository (they redirect today, but are outdated).

  • docs/framework/react/comparison.md
    • https://github.com/tannerlinsley/react-queryhttps://github.com/TanStack/query
  • docs/framework/react/guides/migrating-to-react-query-4.md
    • Release links:
      • ...tannerlinsley/react-query/releases/tag/v3.22.0...TanStack/query/releases/tag/v3.22.0
      • ...tannerlinsley/react-query/releases/tag/v3.6.0...TanStack/query/releases/tag/v3.6.0

Motivation: keep docs up to date, avoid unnecessary redirects, and point readers to the canonical repo.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I have tested this code locally with pnpm run test:pr.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is docs/CI/dev-only (no release).

🧪 Test plan

  • pnpm install
  • pnpm test:docs

Summary by CodeRabbit

  • Documentation
    • Updated repository and package references to reflect organizational changes.
    • Updated import paths and code examples (including hydration) to current package equivalents.
    • Simplified cache notification event type names (e.g., queryAddedadded) and updated related examples and notes.

@changeset-bot
Copy link

changeset-bot bot commented Mar 5, 2026

⚠️ No Changeset found

Latest commit: 2c4774a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Mar 5, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 5, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a142294a-f0f8-4de1-9974-c0a24233412f

📥 Commits

Reviewing files that changed from the base of the PR and between 86758fe and 2c4774a.

📒 Files selected for processing (1)
  • docs/framework/react/comparison.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/framework/react/comparison.md

📝 Walkthrough

Walkthrough

Two documentation pages were updated: repository and star links for React Query moved to TanStack, and multiple React Query migration docs were revised to use @tanstack import paths, updated hydration examples, release-note links, and renamed QueryCacheNotifyEvent types in examples.

Changes

Cohort / File(s) Summary
Repository URL Update
docs/framework/react/comparison.md
Replaced GitHub repository and star badge links from tannerlinsley/react-query to TanStack/query.
TanStack Migration Guide
docs/framework/react/guides/migrating-to-react-query-4.md
Rewrote import examples to @tanstack/..., updated hydration/devtools import examples and release-note links to TanStack URLs, and changed documented QueryCacheNotifyEvent example types from queryAdded/queryRemoved/queryUpdated to added/removed/updated.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I hopped through lines of doc and code,

Repointed links and eased the road.
Hydration paths and events made neat,
TanStack trails beneath my feet.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating legacy react-query GitHub links from tannerlinsley to TanStack.
Description check ✅ Passed The description follows the template with completed 'Changes' and 'Release Impact' sections, though the 'Checklist' section is only partially completed (one item checked, one unchecked).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

❤️ Share

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

@nx-cloud
Copy link

nx-cloud bot commented Mar 5, 2026

View your CI Pipeline Execution ↗ for commit 2c4774a

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 47s View ↗
nx run-many --target=build --exclude=examples/*... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-08 03:10:51 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 5, 2026

More templates

@tanstack/angular-query-experimental

npm i https://pkg.pr.new/@tanstack/angular-query-experimental@10232

@tanstack/eslint-plugin-query

npm i https://pkg.pr.new/@tanstack/eslint-plugin-query@10232

@tanstack/preact-query

npm i https://pkg.pr.new/@tanstack/preact-query@10232

@tanstack/preact-query-devtools

npm i https://pkg.pr.new/@tanstack/preact-query-devtools@10232

@tanstack/preact-query-persist-client

npm i https://pkg.pr.new/@tanstack/preact-query-persist-client@10232

@tanstack/query-async-storage-persister

npm i https://pkg.pr.new/@tanstack/query-async-storage-persister@10232

@tanstack/query-broadcast-client-experimental

npm i https://pkg.pr.new/@tanstack/query-broadcast-client-experimental@10232

@tanstack/query-core

npm i https://pkg.pr.new/@tanstack/query-core@10232

@tanstack/query-devtools

npm i https://pkg.pr.new/@tanstack/query-devtools@10232

@tanstack/query-persist-client-core

npm i https://pkg.pr.new/@tanstack/query-persist-client-core@10232

@tanstack/query-sync-storage-persister

npm i https://pkg.pr.new/@tanstack/query-sync-storage-persister@10232

@tanstack/react-query

npm i https://pkg.pr.new/@tanstack/react-query@10232

@tanstack/react-query-devtools

npm i https://pkg.pr.new/@tanstack/react-query-devtools@10232

@tanstack/react-query-next-experimental

npm i https://pkg.pr.new/@tanstack/react-query-next-experimental@10232

@tanstack/react-query-persist-client

npm i https://pkg.pr.new/@tanstack/react-query-persist-client@10232

@tanstack/solid-query

npm i https://pkg.pr.new/@tanstack/solid-query@10232

@tanstack/solid-query-devtools

npm i https://pkg.pr.new/@tanstack/solid-query-devtools@10232

@tanstack/solid-query-persist-client

npm i https://pkg.pr.new/@tanstack/solid-query-persist-client@10232

@tanstack/svelte-query

npm i https://pkg.pr.new/@tanstack/svelte-query@10232

@tanstack/svelte-query-devtools

npm i https://pkg.pr.new/@tanstack/svelte-query-devtools@10232

@tanstack/svelte-query-persist-client

npm i https://pkg.pr.new/@tanstack/svelte-query-persist-client@10232

@tanstack/vue-query

npm i https://pkg.pr.new/@tanstack/vue-query@10232

@tanstack/vue-query-devtools

npm i https://pkg.pr.new/@tanstack/vue-query-devtools@10232

commit: 3116d30

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/framework/react/comparison.md`:
- Around line 84-85: Update the stars badge URL so it matches the canonical repo
link: change the [stars-react-query] image target that currently references
"tannerlinsley/react-query" to point to "TanStack/query" (so it aligns with the
[gh-react-query] target); ensure the label and shield URL remain otherwise
unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: eb21cbd6-beed-4b76-af53-a052a8603c4d

📥 Commits

Reviewing files that changed from the base of the PR and between fe25edc and 86758fe.

📒 Files selected for processing (2)
  • docs/framework/react/comparison.md
  • docs/framework/react/guides/migrating-to-react-query-4.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant