Workerized JS made easy

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 →

Subscribe to the Chrome Developers →

Ben Morss, Crystal Lambert

#webdevLIVE #javascript event: LIVE 2020; re_ty: Publish; fullname: Ben Morss,Crystal Lambert; product: Chrome - General;

Back to all episodes

By Chrome DevRel