TanStackT
TanStack8mo ago
4 replies
foolish-indigo

Access Current Navigation State

I was wondering if there's a way to access the navigating state. On mobile because of route loaders navigation isn't instant and I would like a way to indicate that, like an indeterminate page loading progress bar that is displayed between the user clicking a link and the next page loading in.

Is there some way to access the loading state of the location a user is navigating to?
Was this page helpful?