TanStackT
TanStack11mo ago
30 replies
good-rose

Why aren't API routes available as a `to` typechecked destination in `Link`?

If I have an API route declare I seem unable to be able to do <Link to="/api/something" /> in a typesafe manner.
The use case is using API routes for a Google Auth redirect.
Was this page helpful?