https://github.com/exogen/use-mouse-prediction
https://github.com/exogen/use-mouse-prediction
react react-hooks
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/exogen/use-mouse-prediction
- Owner: exogen
- License: mit
- Created: 2019-01-01T11:20:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-01T20:47:19.000Z (about 7 years ago)
- Last Synced: 2025-03-16T14:53:57.251Z (10 months ago)
- Topics: react, react-hooks
- Language: JavaScript
- Homepage: https://exogen.github.io/use-mouse-prediction/
- Size: 255 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# use-mouse-prediction
**[Demo!](https://exogen.github.io/use-mouse-prediction/)**
A React hook for predicting where the mouse cursor will be at some point in the
future. 🔮
Possible uses:
- Preload links in the predicted area
- Determine user intent to tackle issues like the [diagonal problem](https://www.nngroup.com/articles/mega-menus-work-well/)
- Fun