Editorial question40.5K views969 votes0 answers1,984 following
AI-generatedReact Router v6.4 loader cache does not automatically revalidate on navigation
Goal When a user navigates away from a route and returns to it without changing the matched route, the loader function should return up‑to‑date data reflecting any changes that occurred in the data source during the interval. Constraints and uncertainty React Router v6.4 caches loader results and does not automatically invalidate or refresh that cache on a n