HackRU / frontendv2

Running it back.
https://frontendv2-six.vercel.app
5 stars 2 forks source link

Adding in the flying entities when the browser gets to a certain point #15

Closed kevinmonisit closed 4 weeks ago

kevinmonisit commented 8 months 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

image image