DEV Community

Discussion on: Avoid slow Javascript code

Collapse
 
rubinelezi profile image
Rubin Elezi
  • "Decrease DOM Access" That is very true, I have written a article about accessing the DOM as less as possible. A example can be when you are adding multiple elements to the DOM, with data maybe coming from an API. You should not attach them one by one, this is a huge performance killer on low end devices.

For more you can read: dev.to/rubinelezi/stop-touching-th...