use-scroll-direction (npm): A simple, performant, and cross-browser hook for handling scroll in your next react app.
Keywords: react|hook|custom-hook|typescript|detect|scroll|scrolling|direction|position|window|ref|frontend|custom scroll|performant scroll|scroll detection|hooks