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
{/* Native <a> tags work for client-side navigation */}
34
+
<ahref="/">Home</a>
35
+
<ahref="/users">Users</a>
35
36
</nav>
36
37
<Outlet />
37
38
</div>
@@ -85,31 +86,6 @@ The root component that provides routing context.
85
86
|`routes`|`RouteDefinition[]`| Array of route definitions |
86
87
|`children`|`ReactNode`| Optional children rendered alongside routes |
87
88
88
-
#### `<Link>`
89
-
90
-
Navigation link component. **Unlike traditional History API-based routers, you don't need `<Link>` for basic navigation.** The Navigation API automatically intercepts native `<a>` tag clicks, so a plain `<a href="/users">Users</a>` works for client-side routing.
91
-
92
-
Use `<Link>` only when you need:
93
-
94
-
-**`state`** - Pass state data to the destination
95
-
-**`replace`** - Replace history entry instead of push
0 commit comments