Jump to content
Search Community

GSAP performance with or without React

Rick May test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

I hope this topic is acceptable.  I couldn't find a more appropriate place to ask in this forum.


Before I proceed too far with the switch to Gatsby (and learning React).  I was wondering if those more experienced can tell me if building a GSAP heavy site would perform better or worse (or the same) as a static site built without React (I currently use Hugo).   I'm thinking about this move for no real reason other than I've always wanted to learn React.  


I just do not want to go too far down the rabbit hole if there will be a performance hit with this combo.





Link to comment
Share on other sites

Hi, as @elegantseagulls mentions, performance in React is tied to the React side of the code and not how you create your GSAP animations. Resource demanding animations will create performance bottlenecks in Wordpress, Joomla, React, Angular, Vue, etc. same thing on the other side of the coin, a React app with poor performance does not depends on the animation side of it, regardless of the tool you use for that.


The mantra around here is: test, test, test and then test again. So just jump into it and create your app and see how it goes. If you run into some issues, post back and we'll help you through.


Happy Tweening!!!

  • Like 6
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...