What problem does it solve? GSAP animations in React often leak memory, target wrong elements across re-renders, or break during server-side rendering. This Skill provides the official patterns for integrating GSAP with React and Next.js so animations are scoped, cleaned up on unmount, and run only on the client. ## Core Features & Use Cases - useGSAP Hook Patterns: Set up animations with the @gsap/react useGSAP hook, including scope, dependency arrays, and revertOnUpdate configuration. - gsap.context() Fallback: Use gsap.context() inside useEffect with mandatory ctx.revert() cleanup when useGSAP is unavailable. - Context-Safe Callbacks: Wrap event-handler animations in contextSafe so they revert correctly on unmount. - SSR Safety: Keep all GSAP and ScrollTrigger code client-only in Next.js applications. - Use Case: You are building a Next.js landing page and want staggered entrance animations on a card grid. This Skill guides the agent to register useGSAP, scope selectors to a container ref, and clean up automatically on unmount. ## Quick Start Add a GSAP fade-in animation to this React component using the useGSAP hook with proper scoping and cleanup.