-
Notifications
You must be signed in to change notification settings - Fork 37
/
_redirects
100 lines (93 loc) · 5.97 KB
/
_redirects
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# [source] [dest] [status?]
# /foo /bar
# /foo /bar 301
# /foo/* /bar/* 301
########################################################################
# TODO: v7 release!
# Remove these with v7 release
/ /en/main
/en/dev /dev
########################################################################
# TODO: v7 release!
# Uncomment these with v7 release
# /en/main /
# /en/main/start/* /start/*
# /en/main/upgrading/* /upgrading/*
# /en/main/guides/* /how-to/*
# /en/main/routers/picking-a-router /explanation/picking-a-router
########################################################################
# TODO v7 release! redirect these all to the new API docs site, these are
# wrong, they are from when we had the api docs in this site momentarily
#
# /en/main/routers/create-browser-router /api/react-router/createBrowserRouter
# /en/main/routers/create-hash-router /api/react-router/createHashRouter
# /en/main/routers/create-memory-router /api/react-router/createMemoryRouter
# /en/main/routers/create-static-handler /api/react-router/createStaticHandler
# /en/main/routers/create-static-router /api/react-router/createStaticRouter
# /en/main/routers/router-provider /api/react-router/RouterProvider
# /en/main/routers/static-router-provider /api/react-router/StaticRouterProvider
# /en/main/router-components/browser-router /api/react-router/BrowserRouter
# /en/main/router-components/hash-router /api/react-router/HashRouter
# /en/main/router-components/memory-router /api/react-router/MemoryRouter
# /en/main/router-components/router /api/react-router/Router
# /en/main/router-components/static-router /api/react-router/StaticRouter
# /en/main/components/await /api/react-router/Await
# /en/main/components/form /api/react-router/Form
# /en/main/components/link /api/react-router/Link
# /en/main/components/nav-link /api/react-router/NavLink
# /en/main/components/navigate /api/react-router/Navigate
# /en/main/components/outlet /api/react-router/Outlet
# /en/main/components/route /api/react-router/Route
# /en/main/components/routes /api/react-router/Routes
# /en/main/components/scroll-restoration /api/react-router/ScrollRestoration
# /en/main/hooks/use-action-data /api/react-router/useActionData
# /en/main/hooks/use-async-error /api/react-router/useAsyncError
# /en/main/hooks/use-async-value /api/react-router/useAsyncValue
# /en/main/hooks/use-before-unload /api/react-router/useBeforeUnload
# /en/main/hooks/use-blocker /api/react-router/useBlocker
# /en/main/hooks/use-fetcher /api/react-router/useFetcher
# /en/main/hooks/use-fetchers /api/react-router/useFetchers
# /en/main/hooks/use-form-action /api/react-router/useFormAction
# /en/main/hooks/use-href /api/react-router/useHref
# /en/main/hooks/use-in-router-context /api/react-router/useInRouterContext
# /en/main/hooks/use-link-click-handler /api/react-router/useLinkClickHandler
# /en/main/hooks/use-link-press-handler /api/react-router/useLinkPressHandler
# /en/main/hooks/use-loader-data /api/react-router/useLoaderData
# /en/main/hooks/use-location /api/react-router/useLocation
# /en/main/hooks/use-match /api/react-router/useMatch
# /en/main/hooks/use-matches /api/react-router/useMatches
# /en/main/hooks/use-navigate /api/react-router/useNavigate
# /en/main/hooks/use-navigation-type /api/react-router/useNavigationType
# /en/main/hooks/use-navigation /api/react-router/useNavigation
# /en/main/hooks/use-outlet-context /api/react-router/useOutletContext
# /en/main/hooks/use-outlet /api/react-router/useOutlet
# /en/main/hooks/use-params /api/react-router/useParams
# /en/main/hooks/use-prompt /api/react-router/usePrompt
# /en/main/hooks/use-resolved-path /api/react-router/useResolvedPath
# /en/main/hooks/use-revalidator /api/react-router/useRevalidator
# /en/main/hooks/use-route-error /api/react-router/useRouteError
# /en/main/hooks/use-route-loader-data /api/react-router/useRouteLoaderData
# /en/main/hooks/use-routes /api/react-router/useRoutes
# /en/main/hooks/use-search-params /api/react-router/useSearchParams
# /en/main/hooks/use-submit /api/react-router/useSubmit
# /en/main/hooks/use-view-transition-state /api/react-router/useViewTransitionState
# /en/main/utils/create-routes-from-children /api/react-router/createRoutesFromChildren
# /en/main/utils/create-routes-from-elements /api/react-router/createRoutesFromElements
# /en/main/utils/create-search-params /api/react-router/createSearchParams
# /en/main/utils/defer /api/react-router/defer
# /en/main/utils/generate-path /api/react-router/generatePath
# /en/main/utils/is-route-error-response /api/react-router/isRouteErrorResponse
# /en/main/utils/location /api/react-router/location
# /en/main/utils/match-path /api/react-router/matchPath
# /en/main/utils/match-routes /api/react-router/matchRoutes
# /en/main/utils/render-matches /api/react-router/renderMatches
# /en/main/utils/resolve-path /api/react-router/resolvePath
# API reference redirects
/reference /en/main/reference
# removed `/docs` prefix
/docs/en/v6/* /en/v6.3.0/*
/docs/* /*
# Router v5 Redirects
/core/* https://v5.reactrouter.com/core/*
/web/* https://v5.reactrouter.com/web/*
/native/* https://v5.reactrouter.com/native/*