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 } },