Jump to content
GreenSock

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

FastDOM

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

Can you tell me anything about FastDOM and if GSAP uses something similar or if you have ever heard of it, etc?  I personally haven't heard anything about it until recently when someone recommended it to prevent some layout thrashing (something you see commonly with parallax animation where you are trying to move something based on scroll position, etc, etc).   Whatever it is doing or whatever it does, it seems to boost performance.  Do you know anything more about the techniques it uses and does GSAP do something similar? different? better?  or are there some drawbacks to the process that FastDOM is using? etc.

 

https://github.com/wilsonpage/fastdom

Link to comment
Share on other sites

Nope, never heard of fastdom, but it seems it is just handling the batching of read and write operations to avoid layout thrashing.

GSAP has been implementing this technique since version 1.12.0.

 

You can read a bit about it here: https://greensock.com/gsap-1-12-0

 

Thanks for asking!

 

 

  • Like 2
Link to comment
Share on other sites

thanks Carl!  I figured we were doing something similar because of the rock solid smooth performance, guess that is why i never needed another tool ;)

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

×