t
tRPC
A
tRPC
•
3y ago
•
4 replies
Ali
Where can I add a query key?
I tried to follow as in useQuery from Tanstack
, but Typescript started complaining
api.prompts.tags.useQuery(undefined, { cacheTime: 60 * 60 * 40, });
api.prompts.tags.useQuery(undefined, { cacheTime: 60 * 60 * 40, });
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,061
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
api.prompts.tags.
useQuery
(
undefined
, {
cacheTime:
60
*
60
*
40
,
});
api.prompts.tags.
useQuery
(
undefined
, {
cacheTime:
60
*
60
*
40
,
});
Similar Threads
where is useQuery [key]?
D
DevThoughts / ❓-help
3y ago
Where i can read a journal about tRPC ?
C
coco / ❓-help
3y ago
Query invalidation per mutation-key
S
simonsimcity / ❓-help
10mo ago