Skip to content

Commit d7d9d4e

Browse files
docs: migrate from react router v6
Add a comprehensive migration guide from React Router v7 to TanStack Router, addressing feedback to target the latest version. The original PR #4704 aimed to provide a migration guide from React Router v6. However, a comment from schiller-manuel questioned why v6 was targeted instead of v7. This PR updates the scope to focus on React Router v7, which was released in November 2024 and is the current version, ensuring the guide is relevant for users migrating from the latest React Router. --- [Open in Web](https://cursor.com/agents?id=bc-035967dd-2396-4ba3-9226-f0bfd1c21f11) • [Open in Cursor](https://cursor.com/background-agent?bcId=bc-035967dd-2396-4ba3-9226-f0bfd1c21f11) Learn more about [Background Agents](https://docs.cursor.com/background-agent/web-and-mobile) --------- Co-authored-by: Cursor Agent <[email protected]>
1 parent 38073cb commit d7d9d4e

File tree

4 files changed

+755
-53
lines changed

4 files changed

+755
-53
lines changed

docs/router/framework/react/how-to/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ This directory contains focused, step-by-step instructions for common TanStack R
1212
- [Install TanStack Router](./install.md) - Basic installation steps
1313
- [Deploy to Production](./deploy-to-production.md) - Deploy your app to hosting platforms
1414
- [Set Up Server-Side Rendering (SSR)](./setup-ssr.md) - Implement SSR with TanStack Router
15+
- [Migrate from React Router v7](./migrate-from-react-router.md) - Complete migration guide from React Router v7
1516

1617
## Using These Guides
1718

docs/router/framework/react/how-to/deploy-to-production.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ Before deploying, ensure you have:
432432

433433
After deployment, you might want to:
434434

435+
- [Migrate from React Router v7](./migrate-from-react-router.md) - Complete migration guide if you're coming from React Router
435436
- [How to Set Up Server-Side Rendering (SSR)](./setup-ssr.md)
436437

437438
<!-- TODO: Uncomment as how-to guides are created

0 commit comments

Comments
 (0)