CHAPTER 4

image

Boosting JavaScript Performance

In this chapter, we’ll look at how to improve the performance of JavaScript applications through coding tips, techniques, best practices, and modern APIs. I take my view on performance holistically, meaning I take the lifecycle of the whole application into account. That means that instead of focusing purely on the number of lines of code executed, I appreciate that the perceived performance of an application can be improved by faster and more efficient JavaScript file loading, as well as more efficient calls, selectors, and even through CSS and HTML optimizations. In this chapter, however, we’ll focus ...

Get Pro JavaScript Development: Coding, Capabilities, and Tooling 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.