Ben McMahen's banner
Ben McMahen's profile picture

Ben McMahen

@BenMcMahen • 1,121 subscribers

all things code, design, js, react. Design systems @frame_io / @adobe

Shorts

At Frame, we frequently make use of a `useHoverIntent` hook that fires a callback when it seems likely the user will click an element. This lets us preload, but less aggressively than on mouse-enter. This vid shows the time between intent being detected, and the click occurring

At Frame, we frequently make use of a `useHoverIntent` hook that fires a callback when it seems likely the user will click an element. This lets us preload, but less aggressively than on mouse-enter. This vid shows the time between intent being detected, and the click occurring

31,671 просмотров