Files
agentic-dev/docs/library-decisions/2026-05-14-@trpc/react-query.md
Danijel Martinek f77e6ea881 chore(template): clean-slate template snapshot from bb4a0c7
Curated, product-agnostic snapshot of the post-story-04 tree: demo
content deleted, auth-only reference feature, web-next shell, all gates
green. Product-specific docs, ADRs 027-029, PRDs/epics/archive, editor
library traces, and product naming are curated out; generic template
repairs (coverage provider devDeps, root test:coverage script, live
lint fixes, root-only release-please) are kept. See TEMPLATE.md for
provenance, curation list, and usage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK
2026-07-12 20:40:54 +02:00

1.6 KiB
Raw Blame History

package, version, tier, decision, date, deciders, adr, is-sub-processor, processes-pii, filter-results, verification-commands, accepted-cves
package version tier decision date deciders adr is-sub-processor processes-pii filter-results verification-commands accepted-cves
@trpc/react-query ^11.0.0 core approved 2026-05-14
scaffolded
null false false
license types maintenance boundary-fit shadow-check eu-residency cve-scan named-consumer socketRisk
MIT native active pass pass n/a clean pass skip
pnpm audit --audit-level=moderate
npm view @trpc/react-query license

Filter: license

MIT — on the workspace allowlist.

Filter: types

Ships first-party TypeScript types; deeply integrated with tRPC's type inference.

Filter: maintenance

Active. Maintained by the tRPC team alongside @trpc/server and @trpc/client.

Filter: boundary-fit

Core package. The React Query integration bridge belongs in core-trpc alongside its sibling tRPC packages. No boundary rule violation.

Filter: shadow-check

No other tRPCReact Query bridge in the workspace. No shadow.

Filter: eu-residency

Client-side integration adapter; no vendor data transmission. n/a.

Filter: cve-scan

No advisories at adoption time.

Filter: named-consumer

core-trpc re-exports @trpc/react-query hooks for use in Next.js feature pages.

Prompt: replaces

Nothing — this is the initial tRPC scaffold.

Prompt: migration-cost-out

Hard: hooks are tRPC-procedure-typed; migrating away requires replacing all call sites.

Prompt: alternatives-considered

This package is the canonical integration point between @trpc/client and @tanstack/react-query. No viable alternative exists.