Skip to content

Commit 3d83ad4

Browse files
docs: fix useLinkClickHandler defaultShouldRevalidate default description (#15322)
1 parent f1d0a41 commit 3d83ad4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/react-router/lib/dom

packages/react-router/lib/dom/lib.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,8 @@ function useDataRouterState(hookName: DataRouterStateHook) {
22052205
* for this navigation. To apply specific styles during the transition, see
22062206
* {@link useViewTransitionState}. Defaults to `false`.
22072207
* @param options.defaultShouldRevalidate Specify the default revalidation
2208-
* behavior for the navigation. Defaults to `true`.
2208+
* behavior for the navigation. When not specified, loaders revalidate
2209+
* according to the router's standard revalidation behavior.
22092210
* @param options.mask Masked location to display in the browser instead
22102211
* of the router location. Defaults to `undefined`.
22112212
* @param options.useTransitions Wraps the navigation in

0 commit comments

Comments
 (0)