tRPCttRPC
Powered by
moustachefulM
tRPC•2y ago
moustacheful

React-query options not available in trpc/react-query?

I'm not sure if I'm misunderstanding something, but i'm trying to use the
keepPreviousData
keepPreviousData
option like this:
trpc.method.useQuery({ input: 'blah' }, { keepPreviousData: true })
trpc.method.useQuery({ input: 'blah' }, { keepPreviousData: true })

however, it seems like that option does not exist in the trpc react? it doesn't work nor it's suggested as a possible option.

i'm on v11 beta 316
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

tRPC + react query subscriptions
fynnFfynn / ❓-help
2mo ago
trpc/react-query batching
KimblisKKimblis / ❓-help
3y ago
tRPC + React Query Data Invalidation?
rhh4x0RRrhh4x0R / ❓-help
2y ago