TweenMax has been deprecated in GSAP 3 in favor of the streamlined gsap object. The last version of TweenMax is released on 19 May 2019. Thus migrate to GSAP 3 is needed for potential vulnerabilities and bug fixes.
In this project, the TweenLite library is called 44 times, and there are 3 functions respectively, namely TweenLite.fromTo(), TweenLite.delayedCall(), and TweenLite.to().
According to GSAP 3 Migration Guide and [GASP 3 Documentation](https://greensock.com/docs/v3/GSAP/gsap.delayedCall()), TweenLite. can be replaced with gasp. for above 3 functions, and the function syntax remains unchanged.
After migrate, the mikutap.js is smaller 0.21kb(-0.8%), the tweenmax.min.js (replaced by gasp.min.js) is smaller 52.42kb(-46.2%).
TweenMax has been deprecated in GSAP 3 in favor of the streamlined gsap object. The last version of TweenMax is released on 19 May 2019. Thus migrate to GSAP 3 is needed for potential vulnerabilities and bug fixes.
In this project, the TweenLite library is called 44 times, and there are 3 functions respectively, namely
TweenLite.fromTo()
,TweenLite.delayedCall()
, andTweenLite.to()
. According to GSAP 3 Migration Guide and [GASP 3 Documentation](https://greensock.com/docs/v3/GSAP/gsap.delayedCall()),TweenLite.
can be replaced withgasp.
for above 3 functions, and the function syntax remains unchanged.After migrate, the mikutap.js is smaller 0.21kb(-0.8%), the tweenmax.min.js (replaced by gasp.min.js) is smaller 52.42kb(-46.2%).