6.26.0
Branches
latest (6.27.0)
dev
Versions
6.27.0
v4/5.x
v3.x
Light
Dark
System
Feature Overview
Getting Started
Feature Overview
Tutorial
Examples
FAQs
Main Concepts
Changelog
Upgrading
Current Future Flags π
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 π
replace π
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
Current Future Flags π
Migrating to RouterProvider
Upgrading from v5
Migrating from @reach/router
Routers
Picking a Router π
createBrowserRouter π
createHashRouter π
createMemoryRouter π
createStaticHandler π
createStaticRouter π
RouterProvider π
StaticRouterProvider