Bake dates into articles

This commit is contained in:
Isabelle Viktoria Maciohsek
2021-06-13 19:52:48 +03:00
parent 65528cce0d
commit 9482b077ec
123 changed files with 246 additions and 0 deletions

View File

@ -5,6 +5,8 @@ tags: javascript,browser
authors: chalarangelo
cover: blog_images/armchair.jpg
excerpt: Increase your JavaScript code's performance when working with the DOM by leveraging this simple trick.
firstSeen: 2020-11-20T09:18:55+02:00
lastUpdated: 2021-06-12T19:30:41+03:00
---
DOM operations, including accessing the DOM, are generally slow. This is usually not a problem until you have to perform many DOM operations and your JavaScript application's performance starts to suffer. A very quick trick to increase performance is to store DOM elements or their values in local variables if you plan to access them multiple times.