8

Multithreading with Web Workers

In this chapter, we will cover important topics that will highly improve the performance of a web application, especially single-page applications. First, we will learn how websites and JavaScript work, and how to use web workers to leverage our application processing power, data access, and network communications. Then, we will introduce two new conceptual design patterns and will implement them in an example application together with other patterns that we have previously seen. On top of this, we will also introduce two libraries that will facilitate our network communications as well as the handling of our persistent database(s) in IndexedDB. We will also implement a simple Node.js server to provide us with ...

Get Vue.js 3 Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.