GSAP with Vue, Svelte, and Other Frameworks When to Use This Skill Apply when writing or reviewing GSAP code in Vue (or Nuxt), Svelte (or SvelteKit), or other component frameworks that use a lifecycle (mounted/unmounted). For React specifically, use gsap-react (useGSAP hook, gsap.context()). Related skills: For tweens and timelines use gsap-core and gsap-timeline ; for scroll-based animation use gsap-scrolltrigger ; for React use gsap-react . Principles (All Frameworks) - Create tweens and ScrollTriggers after the component’s DOM is available (e.g. onMounted, onMount). - Kill or revert them i…