Jump to content
Search Community

Slow animation effect when there are multiple lines of data

Dan00x test
Moderator Tag

Recommended Posts

Hi Dan,

 

You're just asking the browser to do too much work. If I remove all the GSAP animations, it still runs slow. My guess is that a lot of that has to do with you using innerHTML, which creates a bunch of new elements and causes layout thrashing. You also have 60 components, which is going to add a lot of overhead. It would be more performant if you could do everything inside a single component.

 

Also, I noticed you are using the old GSAP syntax. 

 

 

  • Like 1
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...