6.23.1
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
useLinkClickHandler
Getting Started
Feature Overview
Tutorial
Examples
FAQs
Main Concepts
Changelog
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 π
hydrateFallbackElement π
lazy π
loader π
shouldRevalidate π
Components
Await π
Form π
Link
Link (RN)
NavLink
Navigate
Outlet
Route
Routes
ScrollRestoration π
Hooks
useActionData π
useAsyncError π
useAsyncValue π
useBeforeUnload π
useBlocker
useFetcher π
useFetchers π
useFormAction π
useHref
useInRouterContext
useLinkClickHandler
useLinkPressHandler
useLoaderData π
useLocation
useMatch
useMatches π
useNavigate
useNavigation π
useNavigationType
useOutlet
useOutletContext
useParams
unstable_usePrompt
useResolvedPath
useRevalidator π
useRouteError π
useRouteLoaderData π
useRoutes
useSearchParams
useSearchParams (RN)
useSubmit π
unstable_useViewTransitionState
Fetch Utilities
json π
redirect π
redirectDocument π
Utilities
createRoutesFromChildren
createRoutesFromElements
createSearchParams
defer π
generatePath
isRouteErrorResponse π
Location
matchPath
matchRoutes
renderMatches
resolvePath
Guides
Server-Side Rendering
Contributing
API Development Strategy π
Data Library Integration
Deferred Data π
Working With FormData π
Index Query Param π
Getting Started
Feature Overview
Tutorial
Examples
FAQs
Main Concepts
Changelog
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 π
hydrateFallbackElement π
lazy π
loader π
shouldRevalidate π
Components
Await π
Form π
Link
Link (RN)
NavLink
Navigate
Outlet
Route
Routes
ScrollRestoration π
Hooks
useActionData π
useAsyncError π
useAsyncValue π
useBeforeUnload π
useBlocker
useFetcher