What problem does it solve?
This skill streamlines the process of using GSAP in non-React frameworks like Vue, Svelte, and more, handling animation setup and teardown, ensuring seamless animations without performance issues or memory leaks.
Core Features & Use Cases
- Lifecycle Integration: Ensures that GSAP animations only occur when the framework component is in a ready state.
- Scoping: Helps in keeping animation selections scoped to a particular component.
- Cleanup: Automatically cleans up animations when a component is removed from the DOM to prevent memory leaks.
- Use Case: If you're a web developer using Vue 3 or Svelte and want to integrate GSAP for complex animations, this skill will guide you on how to handle component lifecycle events effectively and safely manage resources.
Quick Start
Run 'setup-gsap-animation' command to configure GSAP animations in Vue/Svelte components, specifying the scope container.