A React hook to monitor component scroll percentage.
useScrollTracker is a custom React hook that tracks the user's scroll progress on a web page or within a specific container. It returns the current scroll percentage, making it easy to implement features like reading progress bars, infinite scrolling, scr
It gets scrolled percentage of document height or width.