Zen
Zen
TtRPC
Created by Zen on 5/10/2023 in #❓-help
Caching(?) previous data until query returns new data
when I update my useQuery inputs with new filters it instantly sets the data to undefined while the query isLoading. 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
3 replies