t
tRPC
V
tRPC
•
2y ago
•
1 reply
Vectorz
How to use `getQueryKey` from the server side?
Hi guys
, i cannot figure out how to use
getQueryKey
getQueryKey
from the server side
. Is this possible
?
The use case is i want to be able to set the query data from an RSC
(server side
) to arbitrary data
. The SSRHelper
.prefetch()
.prefetch()
function does not satisfy my needs
, as i would like to set the query data to an arbitrary value from a query executed in the RSC code
.
Any help would be hugely appreciated
!
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
getQueryKey on server component
A
Answer Overflow / ❓-help
3y ago
how to refresh a request made on server from client side?
A
Adam Borygo / ❓-help
8mo ago