diff --git a/docs/router/framework/react/routing/route-trees.md b/docs/router/framework/react/routing/route-trees.md index 3a0a23cadec..c2d97296668 100644 --- a/docs/router/framework/react/routing/route-trees.md +++ b/docs/router/framework/react/routing/route-trees.md @@ -4,15 +4,12 @@ title: Route Trees TanStack Router uses a nested route tree to match up the URL with the correct component tree to render. -To build a route tree, TanStack Router supports both: +To build a route tree, TanStack Router supports: -- File-Based Routing -- Code-Based Routing +- [File-Based Routing](./file-based-routing.md) +- [Code-Based Routing](./code-based-routing.md) -Both methods support the exact same core features and functionality, but **file-based routing requires less code for the same or better results**. For this reasons, **file-based routing is the preferred and recommended way to configure TanStack Router and most of the documentation is written from the perspective of file-based routing** - -For code-based routing documentation, please see -the [Code-Based Routing](./code-based-routing.md) guide. +Both methods support the exact same core features and functionality, but **file-based routing requires less code for the same or better results**. For this reason, **file-based routing is the preferred and recommended way** to configure TanStack Router. Most of the documentation is written from the perspective of file-based routing. ## Route Trees