Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

tunji.akanbi

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by tunji.akanbi

  1. @OSUblake, Thanks a bunch, I'll follow your suggestions and refactor the code. I'm learning react for work/professional development reasons, it seems to be prevalent in the front end dev world.
  2. Hello Folks, Been having a hell of a frustrating time trying to combine GSAP with React. I'm fairly new to both technologies. I'm basically doing a fetch request to get data from a json file (public/data.json) and mapping it into a div in the Test.js component. I just cant seem to animate anything thats returned in the response with GSAP. From everything I was able to find online, it seems I need to use useRef() with GSAP. Any help would be greatly appreciated. I've created a code sandbox here: https://codesandbox.io/s/musicapp-with-react-and-gsap-odjxq?file=/src/Test.js
×