Hacker News new | ask | show | jobs
by king_crimson 30 days ago
afaik the decision to run animations on or off the main thread is a recurring point of debate not just in web browsers. On iOS for example SwiftUI runs them on the main thread while UIKit w/ CoreAnimation runs them off it. I don’t remember the specific reasons for these decisions but the point is, as with many things there are pros and cons to both approaches.