access the new route object from a router event handler
I'm trying to use router.matchRoute(event.toLocation) from a router.subscribe event handler but I'm only getting "false" as result. Am I doing something wrong? Is there some other way to get access to the new route object on a subscription basis outside of the ui framework?
Here's a minimal example of what I'm doing: https://stackblitz.com/edit/tanstack-router-ffdbcl?file=src%2Fmain.tsx
Kasper
StackBlitz
matchRoute in router event - StackBlitz
Run official live example code for Router Quickstart, created by Tanstack on StackBlitz
0 Replies