import Link, { prefetch } from 'next/prefetch' import RegularLink from 'next/link' export default () => (
{ /* Prefetch using the declarative API */ } Home Features { /* we imperatively prefetch on hover */ } prefetch('/about') && console.log('prefetching /about!') }>About Contact (NO-PREFETCHING)
)