Skip to content

Commit e7879a8

Browse files
authored
[docs/start/framework/{route-module,data-loading}.md (#14501)
1 parent 3ef3a00 commit e7879a8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
- gaspard
130130
- gatzjames
131131
- gavriguy
132+
- gchang12
132133
- Geist5000
133134
- GeoffKarnov
134135
- gesposito

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 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)