Closed kevinmonisit closed 4 weeks ago
look into React hooks that exist.. somewhere, where if the window intersects an element, it triggers an event. i think Next.js has something already implemented... but just look into that.
maybe like this?
https://usehooks-ts.com/react-hook/use-intersection-observer
look into React hooks that exist.. somewhere, where if the window intersects an element, it triggers an event. i think Next.js has something already implemented... but just look into that.
maybe like this?
https://usehooks-ts.com/react-hook/use-intersection-observer