@civicactions/cmsds-open-data-components 4.0.13-alpha.2 → 4.0.13-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -278,13 +278,10 @@ var $11500a65bd7d9cf1$export$2e2bcd8739ae039 = $11500a65bd7d9cf1$var$HeaderConte
278
278
  const $61ff88fb3f6ee2c8$var$queryClient = new (0, $hgUW1$QueryClient)({
279
279
  defaultOptions: {
280
280
  queries: {
281
- // Prevent refetch when user returns to tab
281
+ // disable refetch when user returns to tab
282
282
  refetchOnWindowFocus: false,
283
- // Keep data fresh for 2 minutes before marking stale
284
- // Reduces unnecessary refetches, especially on slow connections
285
- staleTime: 120000,
286
283
  // Keep unused cache for 10 minutes (default is 5)
287
- // Helps users navigating back/forward
284
+ // Helps users navigating back/forward see cached data while refetch happens
288
285
  gcTime: 600000,
289
286
  // Reduce retries for slow connections
290
287
  // Default is 3 with exponential backoff (can take 7+ seconds)