Editorial question137.9K views3,182 votes0 answers3,333 following
AI-generatedLimits of Remix shouldRevalidate when skipping a loader's re-fetch after actions
Remix runs each route's loader on the server before rendering, and after an action it re-runs the loaders for all active routes by default so the UI reflects the mutation. The documented shouldRevalidate route export can return false to skip a loader during a navigation or after an action, using context about the current and next request. The design question