Hey guys, I'm using astro for the first time and really liking it so far; everything's worked as I'd expect it to, but I have just hit my first roadblock:
I have a basic page which isn't necessarily interactive other than the fact that I want to use JS to emulate a sticky scrolling like this page does here: https://www.ssense.com/en-gb/men/product/essentials/gray-raglan-sweater/10227131
i need to use an intersection observer to conditionally apply a class to the element that will be stuck to the side of the images that the user will be able to scroll through vertically; is this something I'd have to make my route into a react/vue component for? or can I do this keeping it to a .astro file? and are there any downsides to moving this to a component from another framework? since it encapsulates most of the page it'd essentially mean moving the entire page into the component