t
tRPC
Recommended setup for tRPC + Tanstack Query Subscriptions - tRPC
J
tRPC
•
7mo ago
•
2 replies
James Hopgood
Recommended setup for tRPC + Tanstack Query Subscriptions
Hey there
,
I am already aware that there is a package for this
:
import { useSubscription } from "@trpc/tanstack-react-query";
import { useSubscription } from "@trpc/tanstack-react-query";
but I am honestly a bit unsure how to use it properly with my setup and wondered if people had some boilerplate or docs on how to make use of this
?
My full setup is
:
NextJS frontend
Hono API backend
Clerk Front
+ Backend auth
tRPC
+ Tanstack Query
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
4,951
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
tRPC + react query subscriptions
F
fynn / ❓-help
4mo ago
optimistic updates tRPC v11 + TanStack Query v5
S
Spark / ❓-help
3y ago