Conf42 JavaScript 2025 - Online

- premiere 5PM GMT

Let Your Browser Take a Breather with a Scheduler.yield()

Abstract

Modern web applications often overload the browser’s main thread, causing sluggish interfaces and poor responsiveness. This talk explores how JavaScript’s single-threaded execution model contributes to that problem, and how the new scheduler.yield() API offers a clean, effective way to give control back to the browser without breaking your code flow. We’ll walk through the limitations of traditional approaches, introduce task prioritization with scheduler.yield(), and show practical examples of how to make apps feel faster and more responsive. By the end, you’ll know how to let your browser take a breather, and your users will feel the difference.

...

Aleksandr Tkachenko

Senior Software Engineer @ Playtech

Aleksandr Tkachenko's LinkedIn account Aleksandr Tkachenko's twitter account



Join the community!

Learn for free, join the best tech learning community for a price of a pumpkin latte.

Annual
Monthly
Newsletter
$ 0 /mo

Event notifications, weekly newsletter

Delayed access to all content

Immediate access to Keynotes & Panels

Community
$ 8.34 /mo

Immediate access to all content

Courses, quizes & certificates

Community chats

Join the community (7 day free trial)