Skip to content

docs: clarify tRPC frontend entrypoints#2235

Draft
louzhedong wants to merge 1 commit into
t3-oss:mainfrom
louzhedong:docs/trpc-entrypoint-update
Draft

docs: clarify tRPC frontend entrypoints#2235
louzhedong wants to merge 1 commit into
t3-oss:mainfrom
louzhedong:docs/trpc-entrypoint-update

Conversation

@louzhedong

Copy link
Copy Markdown

Summary

Update the tRPC usage docs to better reflect the current frontend entrypoints.

Why

The docs still lean on an older utils/api.ts framing, which can be confusing when comparing Pages Router and App Router setup.

What changed

  • Clarified that utils/api.ts is the Pages Router entry point
  • Pointed App Router readers to src/trpc/react.tsx
  • Kept the rest of the tRPC walkthrough intact

Verification

  • Cross-checked the docs against the current scaffold structure

@changeset-bot

changeset-bot Bot commented Jun 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3a3c32c

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

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
create-t3-app Ready Ready Preview, Comment Jun 7, 2026 2:06pm

Request Review

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.

1 participant