tanstack query as a cache
Hi, I am using tanstack query instead of default router cache. Example from docs is using:
What is the difference between
That's my loader: which option is responsible for making it run only once -> The one in the querOptions or any of those 2 above?
What is the difference between
defaultStaleTime vs defaultPreloadStaleTime?That's my loader: which option is responsible for making it run only once -> The one in the querOptions or any of those 2 above?