egoist / vue-router-prefetch

Prefetch links when they are visible in viewport.
MIT License
384 stars 17 forks source link

Prefetch on hover #66

Open kirkbushell opened 1 year ago

kirkbushell commented 1 year ago

This appears to be the only library that properly supports prefetching components in Vue, and it supports a heap of stuff out of the box (like additional files). It would be even better however, if it did prefetch on hover, rather than when the link is in the viewport. There is good reason for this, and the main one being that simply being in the viewport is not a good indicator of it ever being clicked or tapped (on mobile).

Being able to set quicklink to only work when it's hovered on (or better yet, when the mouse looks like it's going to that link), is much better.

Cheers :)