7c0a0bbec29a4e98a2bd89b2ac972650100d2627
- Replaces the `cancelAnimationFrame` pattern with a boolean ticking flag to reduce function allocation and RAF overhead on high-frequency mousemove events. - Uses closure variables for coordinates to ensure the latest position is used in the animation frame. - Improves performance of the custom cursor on high-refresh-rate input devices.
Description
No description provided
Languages
TypeScript
79.1%
CSS
20.3%
HTML
0.6%