Type validating arbitrary strings against router types
Hello,
When I have a user sign in, I send them to third party url to login. I am storing the current path in local storage then when they are redirected back I am reading the path and redirecting in the beforeLoad API.
What interface should I be using from tanstack/router to appropriately zod validate that a string satisfies my route types?
Thank you!
0 Replies