Skip to content

feat: network request docs overhaul#17644

Merged
TkDodo merged 6 commits intomasterfrom
tkdodo/data-fetching
May 8, 2026
Merged

feat: network request docs overhaul#17644
TkDodo merged 6 commits intomasterfrom
tkdodo/data-fetching

Conversation

@TkDodo
Copy link
Copy Markdown
Contributor

@TkDodo TkDodo commented May 6, 2026

DESCRIBE YOUR PR

This PR updates the Network Request section of the developer docs to reflect the current reality.

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

EXTRA RESOURCES

@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment May 8, 2026 9:28am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
sentry-docs Ignored Ignored Preview May 8, 2026 9:28am

Request Review

@TkDodo TkDodo marked this pull request as ready for review May 6, 2026 11:06
@TkDodo TkDodo requested a review from a team May 6, 2026 11:07
Comment thread develop-docs/frontend/network-requests.mdx Outdated
Comment thread develop-docs/frontend/network-requests.mdx Outdated
Comment thread develop-docs/frontend/network-requests.mdx
Comment thread develop-docs/frontend/network-requests.mdx
@TkDodo TkDodo requested a review from ryan953 May 7, 2026 09:41
Comment thread develop-docs/frontend/network-requests.mdx
Comment thread develop-docs/frontend/network-requests.mdx Outdated
Comment on lines +50 to +53
- `staleTime: 0` — data is always stale; it changes often and I'm okay with excess refetches.
- `staleTime: 30_000` — "I only want to refetch at most every 30 seconds".
- `staleTime: Infinity` — data never goes stale. Use for data that doesn't change (or changes so rarely that you'll invalidate manually).
- `staleTime: 'static'` — data is fetched once and _never_ refetched, even if the Query is invalidated manually.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

epic!

Comment thread develop-docs/frontend/network-requests.mdx Outdated
Co-authored-by: Ryan Albrecht <ryan@ryanalbrecht.ca>
@TkDodo TkDodo merged commit a611042 into master May 8, 2026
18 checks passed
@TkDodo TkDodo deleted the tkdodo/data-fetching branch May 8, 2026 09:32
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.

3 participants