avalleteA
tRPC3y ago
5 replies
avallete

query debounce

Hey there !

I wonder if anyone could point me to a standard recipe to achieve query debouncing and caching using trpc and
useQuery
in react. I'm basically firing an api call everytime the user change his input which start to be quite a lot when he keep the "delete" key pressed on the keyboard.
Was this page helpful?