this repo has no description
1## Intent-based preloading
2
3Intent preloading takes route-level prefetching further by triggering data fetches on hover and focus events. This creates a near-instant experience — data begins loading the moment the user shows intent to navigate.
4
5### How it works
6
71. The user hovers over or focuses a navigation link
82. The `prefetch="intent"` directive triggers the route's loader
93. Data is fetched and cached before the click completes
104. On click, the page renders immediately with zero loading time
11
12### Why intent matters
13
14Unlike viewport-based preloading which can trigger fetches for links the user may never click, intent preloading only fires when the user explicitly shows interest in a link. This balances performance gains with bandwidth efficiency.
15
16### Configuration
17
18Set `prefetch="intent"` on `Link` components or configure it as the default for specific routes in your router configuration.