6.16.0
Branches
main (6.26.1)
dev
Versions
6.26.1
v4/5.x
v3.x
Light
Dark
System
Viewing docs for an older release.
View latest
Link (RN)
Getting Started
Feature Overview
Tutorial
Examples
FAQs
Main Concepts
Upgrading
Migrating to RouterProvider
Upgrading from v5
Migrating from @reach/router
Routers
Picking a Router π
createBrowserRouter π
createHashRouter π
createMemoryRouter π
createStaticHandler π
createStaticRouter π
RouterProvider π
StaticRouterProvider π
Router Components
BrowserRouter
HashRouter
MemoryRouter
NativeRouter
Router
StaticRouter
Route
Route π
action π
errorElement π
lazy π
loader π
shouldRevalidate π
Components
Await π
Form π
Link
Link (RN)
NavLink
Navigate
Outlet
Route
Routes
ScrollRestoration π
Hooks
useActionData π
useAsyncError π
useAsyncValue π
useBeforeUnload π
useFetcher π
useFetchers π
useFormAction π
useHref
useInRouterContext
useLinkClickHandler
useLinkPressHandler
useLoaderData π
useLocation
useMatch
useMatches π
useNavigate
useNavigation π
useNavigationType
useOutlet
useOutletContext
useParams
useResolvedPath
useRevalidator π
useRouteError