I know that I can apply motion directly to element/HTMLtag like this: <motion.div>some content</div> But how can I apply it to this? <Comp />
I have essentially the following setup: <AnimatePresence initial={false}> {value ? ( <motion.div> {/* Page 1 content */} </motion
So the animations are only occurring during the initial page reload. I want the animations to execute every time I scroll down to another page. How do I use rea