Caching(?) previous data until query returns new data
when I update my useQuery inputs with new filters it instantly sets the data to undefinedundefined while the query isLoadingisLoading.
Is there a way to keep the previous data there until the new data returns from the server? Currently there's big flashes in the UI between applications of the filters, as my data length drops to effectively zero then bounced back up again when the new data loads
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
t
tRPC
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.