Skip to content

Commit d2c4a12

Browse files
authored
Fix typo in loader.md (#11493)
1 parent dc786c9 commit d2c4a12

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
- david-bezero
6161
- david-crespo
6262
- decadentsavant
63+
- dgrijuela
6364
- DigitalNaut
6465
- dmitrytarassov
6566
- dokeet

docs/route/loader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Note that the APIs here are not React Router specific, but rather standard web o
8787

8888
## `loader.hydrate`
8989

90-
If you are [Server-Side Rendering][ssr] and leveraging the `fututre.v7_partialHydration` flag for [Partial Hydration][partialhydration], then you may wish to opt-into running a route `loader` on initial hydration _even though it has hydration data_ (for example, to let a user prime a cache with the hydration data). To force a `loader` to run on hydration in a partial hydration scenario, you can set a `hydrate` property on the `loader` function:
90+
If you are [Server-Side Rendering][ssr] and leveraging the `future.v7_partialHydration` flag for [Partial Hydration][partialhydration], then you may wish to opt-into running a route `loader` on initial hydration _even though it has hydration data_ (for example, to let a user prime a cache with the hydration data). To force a `loader` to run on hydration in a partial hydration scenario, you can set a `hydrate` property on the `loader` function:
9191

9292
## Returning Responses
9393

0 commit comments

Comments
 (0)