diff --git a/docs/latest/concepts/partials.md b/docs/latest/concepts/partials.md index bfe7a93e..5ef2d8b2 100644 --- a/docs/latest/concepts/partials.md +++ b/docs/latest/concepts/partials.md @@ -196,3 +196,33 @@ export default function LogView() { > [info]: When picking the `prepend` or `append` mode, make sure to add keys to > the elements. + +## Bypassing or disabling Partials + +If you want to exempt a particular element from triggering a partial request +like on a particular link, form or button, you can opt out of it by setting +`f-client-nav={false}` on the element or one of the ancestor elements. + +```tsx +
+ {/* This will cause a partial navigation */} + With partials + + {/* This WONT cause a partial navigation */} + No partials + + {/* This WONT cause a partial navigation on any elements below */} +