You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/start/framework/react/migrate-from-next-js.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ title: Migrate from Next.js
4
4
---
5
5
6
6
> [!IMPORTANT]
7
-
> This guide is based off the upcoming work in the `alpha` branch for**TanStack Start**. We are actively working on super upcoming cool and exciting changes, and the guide will be updated soon.
7
+
> This guide is based on the upcoming work in the `alpha` branch of**TanStack Start**. We are actively working on exciting new features, and this guide will be updated soon.
8
8
9
-
This guide provides a step-by-step process to migrate a project from the Next.js App Router to **TanStack Start**. We respect the powerful features of Next.js and aim to make this transition as smooth and professional as possible.
9
+
This guide provides a step-by-step process to migrate a project from the Next.js App Router to **TanStack Start**. We respect the powerful features of Next.js and aim to make this transition as smooth as possible.
TanStack Start leverages [Vite](https://vite.dev) and TanStack Router:
37
37
38
38
> [!NOTE]
39
-
> We're using the `alpha` version of TanStack Start and TanStack Router. This'll change soon once the've been merged into `main`.
39
+
> We're using the `alpha` version of TanStack Start and TanStack Router. This will change once they are merged into main.
40
40
41
41
```sh
42
42
npm i @tanstack/react-router@alpha @tanstack/react-start@alpha vite
@@ -96,7 +96,7 @@ By default, `routesDirectory` is set to `src/routes`. If you want to maintain co
96
96
97
97
### 4. Adapt the Root Layout
98
98
99
-
> TanStack Start uses a routing adjacent to Remix, but with some changes to make compatible with nested structures and support special features using tokens. You can see all on changes in the[Routing Concepts](/router/latest/docs/framework/react/routing/routing-concepts) guide.
99
+
> TanStack Start uses routing adjacent to Remix, with some changes to make it compatible with nested structures and support special features using tokens. Learn more about it at[Routing Concepts](/router/latest/docs/framework/react/routing/routing-concepts) guide.
100
100
101
101
Instead of `layout.tsx`, you will create a file named `__root.tsx` in the `src/app` directory. This file will serve as the root layout for your application.
0 commit comments