DEV Community

Discussion on: My New Favorite CSS Trick: will-change

Collapse
 
ben profile image
Ben Halpern

Big +1. I've used this (again judiciously) alongside requestAnimationFrame in my JavaScript to massively improve performance on an app which needed it.

Collapse
 
highflyer910 profile image
Thea

Yes, I agree! Using will-change alongside requestAnimationFrame is such an amazing combo for silky smooth animations. Glad to hear it massively improved the performance of your app!:)

Collapse
 
ben profile image
Ben Halpern

Yeah — specifically the performance improvements were needed on mobile.

Phones have come a long way but are still sometimes resource-constrained.