Closed hirasso closed 1 year ago
Description
Adds a new option preloadVisibleLinks.ignore to opt out from automatic preloading for selected elements:
preloadVisibleLinks.ignore
{ preloadVisibleLinks: { ignore: (el) => !!el.closest('.footer') }, },
Or:
{ preloadVisibleLinks: { ignore: (el) => el.pathname.startsWith('/imprint') }, },
Checks
master
npm run lint
Description
Adds a new option
preloadVisibleLinks.ignore
to opt out from automatic preloading for selected elements:Or:
Checks
master
branchnpm run lint
)