You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * The default `preloadIntentProximity` a route should use if no preloadIntentProximity is provided. * * @default 0 * @link [API Docs](https://tanstack.com/router/latest/docs/framework/react/api/router/RouterOptionsType#defaultpreloadintentproximity-property) * @link [Guide](https://tanstack.com/router/latest/docs/framework/react/guide/preloading#preload-intent-proximity) */
defaultPreloadIntentProximity?: number
but none of the links in the doc block have information about it. I couldn't find any documentation. What is this value supposed to be exactly? The distance in pixels?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
The source code has a config for preload intent proximity: https://github.com/TanStack/router/blob/main/packages/router-core/src/router.ts#L192C1-L199C41
but none of the links in the doc block have information about it. I couldn't find any documentation. What is this value supposed to be exactly? The distance in pixels?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions