"createRouter is not a function" after updating to `@tanstack/react-router-ssr-query`
Here is my
router.tsx
file
4 Replies
adverse-sapphire•3w ago
Should it be createRouter instead of createAppRouter?
genetic-orangeOP•3w ago
Ah thank you very, that solved my problem, however in this case the problem is in the documentation: https://tanstack.com/router/latest/docs/integrations/query#setup
unwilling-turquoise•3w ago
well the docs are for router, not start
anyhow, this interface will change soon
genetic-orangeOP•3w ago
Ah I understand, I misunderstood because I found this link in the Tanstack Start discussion: https://github.com/TanStack/router/discussions/2863#discussioncomment-14051299
GitHub
Start BETA - Tracking · TanStack router · Discussion #2863
Tracking any important changes for TanStack Start during the BETA period. If you are coming from the ALPHA of TanStack Start, you can see all the breaking changes that were made here - #2403