optimization

How Javascript affects browser performance
May 1st 2025

How Javascript affects browser performance

With the move towards frontend frameworks the web is becoming increasingly loaded with javascript. It used to be that you could disable javascript and have a usable web experience but for the most part that is no longer the case. In some ways it is good that we are building websites with more functionality than ever existed in the past. But it is also a double-edged sword that requires us to craft our applications in a way that contributes to a good user experience. I'm going to talk about some of the metrics that are used to measure performance and how these metrics can be impacted by the javascript we write.

The reduce ({...spread}) anti-pattern
The reduce ({...spread}) anti-pattern
June 9th 2019

The reduce ({...spread}) anti-pattern

Performance is a common topic in computing, but it is especially common in the frontend world as the latest Javascript technologies battle for the frontend throne. Some may say React has already won (and the usage numbers seem to agree) so in this blog post I wanted to talk about a piece of problematic code I'm seeing more frequently in the frontend world as Javascript syntax is evolving and components are taking over.