Should match.routeId be a valid routeId?
Is there something wonky about typings here? To me it feels like getRoute should be able to take in routeId from match, but TS says it's not assignable to type 'string'.
Stackblitz: https://stackblitz.com/edit/tanstack-router-cqhrcq?file=src%2Fmain.tsx
(sorry for reposting this one, posted in the channel yesterday but it didn't got any reaction
https://discord.com/channels/719702312431386674/1007702008448426065/1148512726864380004)
Joonas Tiala
StackBlitz
TS Router: match routeId typing - StackBlitz
Run official live example code for Router Quickstart, created by Tanstack on StackBlitz
Discord
Discord - A New Way to Chat with Friends & Communities
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.

0 Replies