Workerized JS made easy

6 652
16.3
Опубликовано 9 июля 2020, 15:18
When JavaScript lives in a Worker, it runs in a separate thread. Thus, it can't block the browser from creating smooth user experiences! Unfortunately, since Workers can't access the DOM directly, you can't just stick your JavaScript into a Worker. Fortunately, last year, AMP introduced amp-script, a component that makes this straightforward. In this talk we chat about how to use amp-script to create your very own Workerized JS browser interactions!

Related Playlist:
Day 1 → goo.gle/WDL20Day1

Subscribe to the Chrome Developers → goo.gle/ChromeDevs

Speakers:
Ben Morss, Crystal Lambert

#webdevLIVE #javascript event: web.dev LIVE 2020; re_ty: Publish; fullname: Ben Morss,Crystal Lambert; product: Chrome - General;
автотехномузыкадетское