6.21.0
Branches
latest (7.0.2)
dev
Versions
7.0.2
6.28.0
v4/5.x
v3.x
Search
Light
Dark
System
createRoutesFromChildren
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 🆕
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
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 🆕
createRoutesFromChildren
Alias for
createRoutesFromElements
Brand Assets
•
Docs and examples
CC 4.0