December 2023
Beginner to intermediate
330 pages
5h 27m
English
So far, we have only dealt with code that is used either directly in JavaScript or on the HTML DOM. Operations to modify the DOM are easy to do in JavaScript, but they are relatively slow when compared to other JavaScript code. You’ll begin to notice these inefficiencies if you have thousands of DOM elements on your page and apply interactions to them using addEventListener. This makes creating DOM-based games or large interactive applications like whiteboards nearly impossible from a performance perspective. At one point, I ...