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/router/framework/react/routing/file-naming-conventions.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -4,16 +4,16 @@ title: File Naming Conventions
4
4
5
5
File-based routing requires that you follow a few simple file naming conventions to ensure that your routes are generated correctly. The concepts these conventions enable are covered in detail in the [Route Trees & Nesting](./route-trees.md) guide.
|**`__root.tsx`**| The root route file must be named `__root.tsx` and must be placed in the root of the configured `routesDirectory`. |
10
-
|**`.` Separator**| Routes can use the `.` character to denote a nested route. For example, `blog.post` will be generated as a child of `blog`. |
11
-
|**`$` Token**| Route segments with the `$` token are parameterized and will extract the value from the URL pathname as a route `param`. |
12
-
|**`_` Prefix**| Route segments with the `_` prefix are considered to be pathless layout routes and will not be used when matching its child routes against the URL pathname. |
13
-
|**`_` Suffix**| Route segments with the `_` suffix exclude the route from being nested under any parent routes. |
14
-
|**`(folder)` folder name pattern**| A folder that matches this pattern is treated as a **route group**, preventing the folder from being included in the route's URL path. |
15
-
|**`index` Token**| Route segments ending with the `index` token (before any file extensions) will match the parent route when the URL pathname matches the parent route exactly. This can be configured via the `indexToken` configuration option, see [options](#options). |
16
-
|**`.route.tsx` File Type**| When using directories to organise routes, the `route` suffix can be used to create a route file at the directory's path. For example, `blog.post.route.tsx` or `blog/post/route.tsx` can be used as the route file for the `/blog/post` route. This can be configured via the `routeToken` configuration option, see [options](#options). |
|**`__root.tsx`**| The root route file must be named `__root.tsx` and must be placed in the root of the configured `routesDirectory`. |
10
+
|**`.` Separator**| Routes can use the `.` character to denote a nested route. For example, `blog.post` will be generated as a child of `blog`. |
11
+
|**`$` Token**| Route segments with the `$` token are parameterized and will extract the value from the URL pathname as a route `param`. |
12
+
|**`_` Prefix**| Route segments with the `_` prefix are considered to be pathless layout routes and will not be used when matching its child routes against the URL pathname. |
13
+
|**`_` Suffix**| Route segments with the `_` suffix exclude the route from being nested under any parent routes. |
14
+
|**`(folder)` folder name pattern**| A folder that matches this pattern is treated as a **route group**, preventing the folder from being included in the route's URL path. |
15
+
|**`index` Token**| Route segments ending with the `index` token (before any file extensions) will match the parent route when the URL pathname matches the parent route exactly. This can be configured via the `indexToken` configuration option, see [options](../../../api/file-based-routing.md#indextoken). |
16
+
|**`.route.tsx` File Type**| When using directories to organise routes, the `route` suffix can be used to create a route file at the directory's path. For example, `blog.post.route.tsx` or `blog/post/route.tsx` can be used as the route file for the `/blog/post` route. This can be configured via the `routeToken` configuration option, see [options](../../../api/file-based-routing.md#routetoken). |
17
17
18
18
> **💡 Remember:** The file-naming conventions for your project could be affected by what [options](../../../api/file-based-routing.md) are configured.
Copy file name to clipboardExpand all lines: docs/start/framework/react/overview.md
+15-6
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,15 @@ TanStack Start is not for you if:
68
68
69
69
TanStack works closely with our partners to provide the best possible developer experience while also providing solutions that work anywhere and are vetted by industry experts. Each of our partners plays a unique role in the TanStack ecosystem:
The best possible authentication experience for modern web applications, including TanStack Start applications. Clerk provides TanStack Start users with first-class integrations and solutions to auth and collaborates closely with the TanStack team to ensure that TanStack Start provides APIs that are up to date with the latest in auth best practices.
@@ -77,15 +86,15 @@ TanStack works closely with our partners to provide the best possible developer
77
86
</picture>
78
87
</a>
79
88
The leading hosting platform for web applications that provides a fast, secure, and reliable environment for deploying your web applications. We work closely with Netlify to ensure that TanStack Start applications not only deploy seamlessly to their platform, but also implement best practices for performance, security, and reliability regardless of where you end up deploying.
The best possible authentication experience for modern web applications, including TanStack Start applications. Clerk provides TanStack Start users with first-class integrations and solutions to auth and collaborates closely with the TanStack team to ensure that TanStack Start provides APIs that are up to date with the latest in auth best practices.
97
+
A serverless, autoscaling Postgres solution purpose-built for modern full-stack apps. Neon offers rich integration opportunities with TanStack Start, including server functions and database-backed routing. Together, we’re simplifying the database experience for developers using TanStack.
Copy file name to clipboardExpand all lines: docs/start/framework/react/server-functions.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -371,7 +371,7 @@ There are many context functions available to you for things like:
371
371
- Dealing with multi-part form data
372
372
- Reading/Setting custom server context properties
373
373
374
-
For a full list of available context functions, see all of the available [h3 Methods](https://h3.unjs.io/utils/request) or inspect the [@tanstack/react-start/server Source Code](https://github.com/tanstack/router/tree/main/packages/start/src/server/index.tsx).
374
+
For a full list of available context functions, see all of the available [h3 Methods](https://h3.unjs.io/utils/request) or inspect the [@tanstack/start-server-core Source Code](https://github.com/TanStack/router/tree/main/packages/start-server-core/src).
0 commit comments