@tanstack/react-router 1.166.2 → 1.166.4

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.
@@ -2025,7 +2025,7 @@ Remove cached route matches.
2025
2025
 
2026
2026
  Loads all of the currently matched route matches and resolves when they are all loaded and ready to be rendered.
2027
2027
 
2028
- > ⚠️⚠️⚠️ **\`router.load()\` respects \`route.staleTime\` and will not forcefully reload a route match if it is still fresh. If you need to forcefully reload a route match, use \`router.invalidate()\` instead.**
2028
+ > ⚠️⚠️⚠️ **\`router.load()\` respects \`route.staleTime\`: fresh matches stay fresh, but stale matches are revalidated even if their loader key did not change. If you need to forcefully reload all active matches regardless of freshness, use \`router.invalidate()\` instead.**
2029
2029
 
2030
2030
  - Type: \`(opts?: {sync?: boolean}) => Promise<void>\`
2031
2031
  - if \`sync\` is true, the promise returned by this function will only resolve once all loaders have finished.