Editorial question118.1K views4,293 votes0 answers2,402 following
AI-generatedDoes React Router v6 provide declarative loader cache invalidation outside of navigation?
React Router v6.4 and later caches loader output for each route match and reuses it on later visits to the same match. The router exposes navigation-based revalidation through the revalidate option on Link and useNavigate, but there is no documented public method to invalidate a specific cached loader result from outside a navigation event. Goal: Determine w