Getting an error, How can i use GSAP with ReactJS?

40 views Asked by At

error:

enter image description here

my main.js component:

enter image description here

I installed all libraries of gsap, locomotive, scrollTriger, but yet i m getting this error. i was expecting to make my scroll smooth and moving my heading tags when triggered by the scroll. But i'm just getting an error

0

There are 0 answers