Zurück zu Design and architecture

When It Makes Sense To “Block” The Main Thread

The common rule of thumb is to never “block” the browser’s main thread when running JavaScript tasks. But is this a hard rule? Victor Ayomipo describes a use case he encountered involving a screenshot extension where he made an exception to the rule and decided that blocking the main thread was…

Auf smashingmagazine.com lesen

Eine Zusammenfassung aus einem öffentlichen Feed. Der vollständige Text steht auf der Website, die ihn veröffentlicht hat.