moustacheful
moustacheful9mo ago

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 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
0 Replies
No replies yetBe the first to reply to this messageJoin