you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 month ago (3 children)

Ouu, that's actually a really smart rule of thumb, why should js be running if nothing has even been clicked?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 month ago

    While I agree that most websites ship way too much js, there are many possible use cases which aren't just to facilitate tracking and data collection. Some legit uses could be animations which cannot be achieved easily with just CSS, or the ability to update data asynchronously without reloading the page.

  • source
  • parent