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

3 Replies
rival-black•3mo ago
if you run the dev server, it will import itself automatically
in any case:
import { createServerFileRoute } from '@tanstack/react-start/server'
correct-apricotOP•3mo 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 peoplerival-black•3mo ago
indeed
indeed^2