Jump to content
GreenSock

Rick May

GSAP performance with or without React

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.

 

Thanks.

 

 

Link to comment
Share on other sites

We built our site (and others) in React (https://www.elegantseagulls.com/), and haven't run into any performance issues. There are a lot of variables that go into performance, so without seeing the setup it's tough to give a clear yes or no.

 

  • Like 5
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

Thanks for the responses.  I'm excited to learn more about React as there is a lot a like about it.  Just wanted to make sure it and GSAP played nicely together before I become too invested.

 

Thanks again.

  • Like 2
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.
×