Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 499 posts.

2025
453

Move on to ESM-Only

Three years ago, I wrote a post about shipping ESM & CJS in a single package , advocating for dual CJS/ESM formats to ease user migration and trying to make the best of both worlds. Back then, I didn’t fully agree with aggressively shipping ESM-only , as I considered the ecosystem wasn’t ready, especially since the…

455

WWDC25: macOS Tahoe Breaks Decades of Finder History

Something jumped out at me in the macOS Tahoe segment of the WWDC keynote today: the Finder icon is reversed. You can see that in the image below. On the left is macOS Sequoia, and on the right is macOS Tahoe: I know I am going to sound old and fussy, but Apple needs to roll this back. Some History The Finder logo has…

458

A Supermarket Bag and a Truckload of FOMO

The day was nearing to a close. The sun has already set, but that Friday evening in Amsterdam was still warm. Unusually warm, in fact, for those late days in March – as if spring decided to bless my pilgrimage, for that pilgrimage was not jovial. I was sitting at a ramen joint, sipping on the broth. To my left, a…

468

Dead Framework Theory

These are my opinions and are ruminations on what might be happening as more and more developers use LLMs and Frameworks to build on the web. In October last year I wrote “will developers care …

472

Locality of Behaviour (2020)

Carson Gross explores the Locality of Behaviour (LoB) principle, which emphasizes making the behavior of code units obvious on inspection to enhance maintainability. He discusses the tradeoffs between LoB and other software design principles like DRY and SoC, offering insights on balancing clarity, abstraction, and…

476

Let's write a toy UI library

We begin by writing a few helper functions that will invariably prove useful to us later. We will be dealing with a lot of rectangular regions on the screen, so it makes sense to start by defining a rectangle structure and write some code to manipulate it.

477

Fizz Buzz in CSS

How many CSS selectors and declarations do we need to produce the Fizz Buzz sequence? Of course we could do this with no CSS at all simply by placing the entire sequence as text in the HTML body. So to make the problem precise as well as to keep it interesting, we require that all text that appears in the Fizz Buzz…