Same-route navigation unnecessarily triggers loading state
Author: SabziDevCreated Sep 8, 2026Updated Sep 14, 2026
Labelsbugpkg:react-router
Reproduction
const navigation = useNavigation();
console.log(navigation.state);
DashboardDemo: https://sabzidev-visionui-dashboard.vercel.app/
System Info
npx envinfo --system --npmPackages '{vite,react-router,@react-router/*}' --binaries --browsers
Used Package Manager
npm
Expected Behavior
When navigating to the route that is already active, I expect no navigation loading state:
idle → idle
For example, clicking "" while already on "/dashboard" should not trigger "loading".
Actual Behavior
Clicking a link to the current route triggers:
idle → loading → idle
even though the URL and route remain unchanged.
This is especially noticeable when using the View Transition API.
Source: remix-run/react-router