useFrame()
description
- Add callbacks to `gsap.ticker`. Automatically `remove` on unmounting.
demo
console log
code
useFrame((t, d) => {
console.log(t, d);
});
description
demo
console log
code
useFrame((t, d) => {
console.log(t, d);
});