mikebridge commented on issue #39209:
URL: https://github.com/apache/superset/issues/39209#issuecomment-4410155454

   And at the planning stage we may also want to consider defining a 
`staleTime` / `gcTime` policy per query type in TanStack Query.  
   
   > [Sometimes these defaults can catch new users off guard or make 
learning/debugging difficult if they are unknown by the 
user](https://tanstack.com/query/v4/docs/framework/react/guides/important-defaults)
   
   For example, the [staleTime: 0 
default](https://tanstack.com/query/v4/docs/framework/react/guides/important-defaults)
 causes things to refetch on every remount which is probably not what we 
want---we might want to define this so that every dev doesn't have to stumble 
on them separately.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to