greensock

greensock/react

Tools for using GSAP in React, like useGSAP() which is a drop-in replacement for useLayoutEffect()/useEffect()

JavaScript
322
14
No license

The `@gsap/react` package provides tools for integrating GSAP animations seamlessly into React applications, with the primary feature being the `useGSAP()` hook. This hook simplifies animation management by automatically handling cleanup, supporting server-side rendering, and allowing scoped selector text for easier targeting of elements. It's designed for React developers who want to use GSAP animations without dealing with the complexities of `useEffect` or `useLayoutEffect` cleanup and scoping.

Total donated
Undistributed
Share with your subscribers: