Skip to content

Commit 3e3a223

Browse files
docs: fix references (#14441)
1 parent 255ac96 commit 3e3a223

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

integration/vite-dot-server-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ test.describe("Vite / route / server-only module referenced by client", () => {
146146

147147
` But other route exports in 'app/routes/_index.tsx' depend on '${specifier}'.`,
148148

149-
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
149+
" See https://reactrouter.com/explanation/code-splitting#removal-of-server-code",
150150
].forEach(expect(stderr).toMatch);
151151
});
152152
}
@@ -206,7 +206,7 @@ test.describe("Vite / non-route / server-only module referenced by client", () =
206206

207207
` '${specifier}' imported by 'app/reexport-server-only.ts'`,
208208

209-
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
209+
" See https://reactrouter.com/explanation/code-splitting#removal-of-server-code",
210210
].forEach(expect(stderr).toMatch);
211211
});
212212
}

packages/react-router-dev/vite/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = () => {
20842084
"",
20852085
` But other route exports in '${importerShort}' depend on '${id}'.`,
20862086
"",
2087-
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
2087+
" See https://reactrouter.com/explanation/code-splitting#removal-of-server-code",
20882088
"",
20892089
].join("\n"),
20902090
);
@@ -2096,7 +2096,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = () => {
20962096
"",
20972097
` '${id}' imported by '${importerShort}'`,
20982098
"",
2099-
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
2099+
" See https://reactrouter.com/explanation/code-splitting#removal-of-server-code",
21002100
"",
21012101
].join("\n"),
21022102
);

packages/react-router-fs-routes/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { normalizeSlashes } from "./normalizeSlashes";
1212
/**
1313
* Creates route config from the file system using a convention that matches
1414
* [Remix v2's route file
15-
* naming](https://remix.run/docs/en/v2/file-conventions/routes-files), for use
15+
* naming](https://v2.remix.run/docs/file-conventions/routes), for use
1616
* within `routes.ts`.
1717
*/
1818
export async function flatRoutes(

packages/react-router-node/sessions/fileStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ interface FileSessionStorageOptions {
2626
* The advantage of using this instead of cookie session storage is that
2727
* files may contain much more data than cookies.
2828
*
29-
* @see https://remix.run/utils/sessions#createfilesessionstorage-node
29+
* @see https://api.reactrouter.com/v7/functions/_react_router_node.createFileSessionStorage
3030
*/
3131
export function createFileSessionStorage<Data = SessionData, FlashData = Data>({
3232
cookie,

packages/react-router-remix-routes-option-adapter/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type { DefineRoutesFunction, DefineRouteFunction };
1111

1212
/**
1313
* Adapts routes defined using [Remix's `routes` config
14-
* option](https://remix.run/docs/en/v2/file-conventions/vite-config#routes) to
14+
* option](https://v2.remix.run/docs/file-conventions/vite-config#routes) to
1515
* React Router's config format, for use within `routes.ts`.
1616
*/
1717
export async function remixRoutesOptionAdapter(

packages/react-router/lib/dom/ssr/routeModules.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export type LayoutComponent = ComponentType<{
119119
* A function that defines `<link>` tags to be inserted into the `<head>` of
120120
* the document on route transitions.
121121
*
122-
* @see https://remix.run/route/meta
122+
* @see https://reactrouter.com/start/framework/route-module#meta
123123
*/
124124
export interface LinksFunction {
125125
(): LinkDescriptor[];
@@ -267,7 +267,7 @@ export type RouteComponent = ComponentType<{}>;
267267
/**
268268
* An arbitrary object that is associated with a route.
269269
*
270-
* @see https://remix.run/route/handle
270+
* @see https://reactrouter.com/how-to/using-handle
271271
*/
272272
export type RouteHandle = unknown;
273273

0 commit comments

Comments
 (0)