Pending matches not working as expected

I was trying out the <MatchRoute /> component with pending flag to show a loading indicator while the router is navigating to a particular route.


I have a loader that fetches data in the route I am navigating to and based on the docs (https://tanstack.com/router/v1/docs/framework/react/guide/navigation#usematchroute-and-matchroute) I expected it to show a loading indicator while the loader was fetching but it doesn't do that.

Have added more details in this discussion question:
https://github.com/TanStack/router/discussions/1766
Was this page helpful?