This is a reproduction to show a breaking case in Tanstack Start's basepath handling when navigating with reloadDocument: true
To see the error:
- Clone the repo and install dependencies with
pnpm install - Launch the dev server with
pnpm dev - Visit the app on http://localhost:3000/app
- Click the button button to navigate to
/aboutwithreloadDocument: true - Notice the app navigated to
/aboutinstead of/app/aboutand that an error message was thrown
Note: the basepath handling seems to work properly when navigating back from /app/about to /.