TanStackT
TanStack12mo ago
6 replies
sad-indigo

staleTime vs. preloadStaleTime

Hi. What's the difference between these to in terms of caching? I have a loader in my route component. If the preloadStaleTime is for the loader, what does staleTime affects?
Was this page helpful?