"So, if you’ve ever seen a spinner freeze for a moment before the UI is updated, this is why!"
Another 'holy shit' moment whilst reading a @joshwcomeau.com article.
James Gulland
✨ Have you ever wondered whether JavaScript animation libraries like GSAP or Motion are as performant as raw CSS transitions/keyframes?
The answer is surprisingly nuanced. We dig into the question in my brand-new blog post:
There are a bunch of JavaScript animation libraries out there, and you might have wondered whether there’s a performance cost compared to traditional CSS transitions and keyframe animations. In this b...