TanStackT
TanStack4w ago
9 replies
endless-jade

Is createAPIFileRoute() deprecated?

I've the use of createAPIFileRoute() to create api routes in tanstack start in many tutorials, but I don't find it when building myself. I also searched the docs, but didn't find anything related to it.

While createFileRoute() works, but it allows the api routes to be present in the intellisense of <Link to="" />, which should not be right, I think.
Was this page helpful?