Frameworks concepts.
Integrating GSAP with Vue and with server-rendered apps (Next.js SSR / hydration).
onMounted once the DOM exists, scope them to the component with a template ref, and kill them in onUnmounted.GSAP with SSRSSR-safe GSAP is the set of patterns that let GSAP run inside a server-rendered React app like Next.js without crashing the build or flashing on hydration.