DEV Community

Niko Montana
Niko Montana

Posted on

useScrollInfo() Hook

Hi,

I am searching for a simple solution to detect the scroll direction (and scroll position) within a react functional component. The difficult part for my case is that I am using nextjs so my react app is a ssr app. I dont have access to window or document.

Top comments (0)