Skip to main content

useWillChange Hook

A React hook to manage will-change CSS property lifecycle. Applies will-change before animation starts and removes it after completion for optimal performance.

Installation

$ npx shadcn@latest add @orecus/use-will-change

Usage