Replaces #46 (splitting mobile and desktop behavior)
Description
This PR will start the preload for a link on touchstart, if not on a machine that supports hover: hover. That will start the preload ~80ms earlier than if it would start on click.
Checks
[x] Does not introduce breaking changes
[x] The PR is submitted to the master branch
[x] The code was linted before pushing (npm run lint)
[ ] The documentation was updated as required
Additional information
I'll wait until this made it into master, before tackling the new mouseover logic for desktop (described in #46)
Replaces #46 (splitting mobile and desktop behavior)
Description
This PR will start the preload for a link on
touchstart
, if not on a machine that supportshover: hover
. That will start the preload ~80ms earlier than if it would start onclick
.Checks
master
branchnpm run lint
)Additional information
I'll wait until this made it into
master
, before tackling the newmouseover
logic for desktop (described in #46)