3 ms·
It's fast because your demo prefetches the listings when the mouse cursor hovers or taps, which is possible with traditional e-commerce, I dislike that kind of
by todotask 2y ago
It's fast because your demo prefetches the listings when the mouse cursor hovers or taps, which is possible with traditional e-commerce, I dislike that kind of UX that are wasting user data usage. Is there an option to disable prefetching?
- prophesi 2y agoIt seems like anything you can configure with next.js applies here. And TIL'd there isn't a way to globally disable prefetching[0] with it. You can disable it per individual link, or write & use a custom link component. [0] https://github.com/vercel/next.js/discussions/24437 https://github.com/vercel/next.js/discussions/24437
- typeofweb 2y agoOf course! It’s open source for a reason: feel free to fork and disable prefetching. Although, in my opinion, that’s not the best idea if you have your users’ experience in mind.