ati
ati
TtRPC
Created by ati on 5/21/2023 in #❓-help
Using react-query parameters in tRPC for useQuery
Hello, the useQuery from react-query can take parameters such cacheTime, staleTime, refetchOnWindowFocus etc. , but as far as I can see we cannot give these parameters to the useQuery provided by tRPC. In this case, how can we set these values, and what are the defaults for such values? Thank you.
5 replies