Share Posted October 15, 2018 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 More sharing options...
Share Posted October 15, 2018 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. 5 Link to comment Share on other sites More sharing options...
Share Posted October 15, 2018 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!!! 6 Link to comment Share on other sites More sharing options...
Share Posted October 16, 2018 It's in @Rodrigo's signature, but in case you missed it: His GSAP & React - Getting Started blog is helpful when learning too: https://greensock.com/react 2 Link to comment Share on other sites More sharing options...
Author Share Posted October 16, 2018 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. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now