TanStackT
TanStack2y ago
3 replies
progressive-amaranth

Difference between `router.latestLocation` and `router.parseLocation()`

I noticed both of these are undocumented on RouterType

Intuitively it feels the router.latestLocation might be more performant, but before relying on this I'd like to understand the difference.
The Router type is used to describe a router instance.

Router properties and methods
Router type | TanStack Router React Docs
Was this page helpful?