
a-c-sreedhar-reddy
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by a-c-sreedhar-reddy
-
-
yeah would that cause a noticable performance difference? currently I use PIXI with gsap and the task in request animation frame takes more time resulting in janking.
-
Hi,
would there be any performance difference between the below two codes?
gsap.to(element, { x: 5, duration: 1000})
vs
let value = { x: 0};
gsap.to(value, {x:5, duration: 1000, onUpdate: ()=>{ element.x =value.x } },
remove eventCallback
in GSAP
Posted
~Is still true in 3.7.1 because I could see callbacks not getting removed if we add a new one~