Daily Shaarli

All links of one day in a single page.

September 20, 2018

"Idle Until Urgent", Philip Walton (@philwalton)

"In a perfect world, none of our sites would ever block the main thread unnecessarily. We’d all be using web workers to do our non-UI work, and we’d have shouldYield() and a native Scheduling API) built into the browser.

But in our current world, we web developers often have no choice but to run non-UI code on the main thread, which leads to unresponsiveness and jank."