react-router is the primary package in the React Router project.

npm i react-router

Routers

Router Components

Components

Hooks

Utils

Types

Other

createRoutesFromElements NavigationType UNSAFE_ServerMode UNSAFE_DataWithResponseInit UNSAFE_RemixErrorBoundary ActionFunction ActionFunctionArgs AppLoadContext Cookie CookieParseOptions CookieSerializeOptions CookieSignatureOptions DataRouteMatch DataRouter DataStrategyFunction DataStrategyFunctionArgs DataStrategyMatch DataStrategyResult EntryContext FetcherSubmitFunction FetcherSubmitOptions GetScrollPositionFunction GetScrollRestorationKeyFunction HandleDataRequestFunction HandleDocumentRequestFunction HandleErrorFunction HeadersFunction IndexRouteObject LazyRouteFunction LinksFunction LoaderFunctionArgs Location MetaArgs MetaFunction NavigateFunction NavigateOptions Navigator NonIndexRouteObject PageLinkDescriptor Path PathMatch PathPattern RouteMatch RouterInit RouterProviderProps RouterState RouterSubscriber RoutesTestStubProps ServerBuild ServerEntryModule ServerRouterProps Session SessionData SessionIdStorageStrategy SessionStorage ShouldRevalidateFunction ShouldRevalidateFunctionArgs StaticHandler StaticHandlerContext StaticRouterProps StaticRouterProviderProps SubmitFunction SubmitOptions UIMatch UNSAFE_AssetsManifest UNSAFE_RouteModules Blocker BlockerFunction ClientActionFunction ClientActionFunctionArgs ClientLoaderFunction ClientLoaderFunctionArgs CookieOptions CreateRequestHandlerFunction DataRouteObject ErrorResponse Fetcher FetcherWithComponents FlashSessionData FormEncType FormMethod HeadersArgs HTMLFormMethod HtmlLinkDescriptor HydrationState InitialEntry IsCookieFunction IsSessionFunction LinkDescriptor LoaderFunction MetaDescriptor Navigation NavigationStates NavLinkRenderProps ParamKeyValuePair ParamParseKey Params PatchRoutesOnNavigationFunction PatchRoutesOnNavigationFunctionArgs PathParam RedirectFunction RelativeRoutingType RequestHandler RevalidationState RouteObject RouteProps RouterFetchOptions RouterNavigateOptions ScrollRestorationProps SetURLSearchParams SubmitTarget To URLSearchParamsInit IDLE_BLOCKER IDLE_FETCHER IDLE_NAVIGATION UNSAFE_DataRouterContext UNSAFE_DataRouterStateContext UNSAFE_FetchersContext UNSAFE_FrameworkContext UNSAFE_LocationContext UNSAFE_NavigationContext UNSAFE_RouteContext UNSAFE_SingleFetchRedirectSymbol UNSAFE_ViewTransitionContext createCookie createCookieSessionStorage createMemorySessionStorage createRequestHandler createSession createSessionStorage isCookie isSession RouterProvider UNSAFE_createBrowserHistory UNSAFE_createClientRoutes UNSAFE_createClientRoutesWithHMRRevalidationOptOut UNSAFE_createRouter UNSAFE_decodeViaTurboStream UNSAFE_deserializeErrors UNSAFE_getPatchRoutesOnNavigationFunction UNSAFE_getSingleFetchDataStrategy UNSAFE_shouldHydrateRouteLoader UNSAFE_useFogOFWarDiscovery UNSAFE_useScrollRestoration unstable_setDevServerHooks

Other

Renames and re-exports createRoutesFromChildren