T
TanStack3mo ago
correct-apricot

Unclear migration guide for 1.121.10

Hi I'm following this guide: https://github.com/TanStack/router/discussions/2863 But in the last section it's unclear where createServerFileRoute should be imported from.
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
No description
3 Replies
rival-black
rival-black3mo ago
if you run the dev server, it will import itself automatically in any case: import { createServerFileRoute } from '@tanstack/react-start/server'
correct-apricot
correct-apricotOP3mo ago
I see. Then it complains that createServerFileRoute is missing a parameter. I'm assuming that also gets added when running the dev server? Perhaps we should write this there for other people
rival-black
rival-black3mo ago
indeed indeed^2

Did you find this page helpful?