why use requestAnimationFrame to achieve synchronous scrolling instead of directly updating element?
projectcss opened this issue · 1 comments
projectcss commented
why use requestAnimationFrame to achieve synchronous scrolling instead of directly updating element?
okonet commented
This ensures that we’re not blocking the main thread.