6.6.0
Branches
latest (6.27.0)
dev
Versions
6.27.0
v4/5.x
v3.x
Light
Dark
System
useOutletContext
Getting Started
Feature Overview
Tutorial
Examples
FAQs
Main Concepts
Upgrading
Upgrading from v5
Migrating from @reach/router
Routers
Picking a Router π
createBrowserRouter π
createHashRouter π
createMemoryRouter π
RouterProvider π
Router Components
BrowserRouter
HashRouter
MemoryRouter
NativeRouter
Router
StaticRouter
Route
Route π
action π
errorElement π
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 π
useRouteLoaderData π
useRoutes
useSearchParams
useSearchParams (RN)
useSubmit π
Fetch Utilities
json π
redirect π
Utilities
createRoutesFromChildren
createRoutesFromElements
createSearchParams
defer π
generatePath
isRouteErrorResponse π
Location
matchPath
matchRoutes
renderMatches
resolvePath
Guides
Server-Side Rendering
Contributing
Data Library Integration
Deferred Data π
Working With FormData π
Index Query Param π
Getting Started
Feature Overview
Tutorial
Examples
FAQs
Main Concepts
Upgrading
Upgrading from v5
Migrating from @reach/router
Routers
Picking a Router π
createBrowserRouter π
createHashRouter π
createMemoryRouter π
RouterProvider π
Router Components
BrowserRouter
HashRouter
MemoryRouter
NativeRouter
Router
StaticRouter
Route
Route π
action π
errorElement π
loader π
shouldRevalidate π
Components
Await π
Form π
Link
Link (RN)
NavLink
Navigate
Outlet
Route
Routes
ScrollRestoration π
Hooks
useActionData π
useAsyncError