Skip to content

Commit ff40b8d

Browse files
committed
Added backticks to filename; removed extra 'then'.
1 parent 3ef3a00 commit ff40b8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/start/framework/data-loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default function Product({
106106
}
107107
```
108108

109-
The URLs to pre-render are specified in react-router.config.ts:
109+
The URLs to pre-render are specified in `react-router.config.ts`:
110110

111111
```ts filename=react-router.config.ts
112112
import type { Config } from "@react-router/dev/config";

docs/start/framework/route-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ The meta of the last matching route is used, allowing you to override parent rou
480480

481481
## `shouldRevalidate`
482482

483-
In framework mode with SSR, route loaders are automatically revalidated after all navigations and form submissions (this is different from [Data Mode][data-mode-should-revalidate]). This enables middleware and loaders to share a request context and optimize in different ways than then they would be in Data Mode.
483+
In framework mode with SSR, route loaders are automatically revalidated after all navigations and form submissions (this is different from [Data Mode][data-mode-should-revalidate]). This enables middleware and loaders to share a request context and optimize in different ways than they would be in Data Mode.
484484

485485
Defining this function allows you to opt out of revalidation for a route loader for navigations and form submissions.
486486

0 commit comments

Comments
 (0)