useScroll

Why?
Information about the scroll position of the window object is often useful during implementation of cool widgets. Instead of comparing at the level of components, you can get a result right away. It will calculate the current scroll position.
Usage
Implementation