Vanilla JavaScript: Web Workers
Offered By: LinkedIn Learning
Course Description
Overview
Optimize your web applications with JavaScript web workers. Learn how to enable multithreading with dedicated and shared web workers.
Syllabus
Introduction
- Increase web performance with web workers
- What you should know
- The problem with JavaScript and threads
- Execute CPU-intense operations
- How the browser works with threads
- The workers family
- Create a dedicated worker
- Life cycle of a dedicated worker
- Create a shared worker
- Life cycle of a shared worker
- Creating subworkers
- Import external scripts
- Create basic workers
- Debug with browser dev tools
- Send messages to dedicated workers
- Improve the performance of our app
- Update progress and import scripts
- Send messages to shared workers
- Copy vs. transferable objects
- Handle worker errors
- Libraries for web workers
- Decoding images
- WorkerDOM project
- OffscreenCanvas
- Next steps
Taught by
Maximiliano Firtman
Related Courses
HTML5 Apps and GamesWorld Wide Web Consortium (W3C) via edX JavaScript: Async
LinkedIn Learning