Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 8,469 posts.

Web & Frontend
Any year
6938

It’s OK to block ads (2015)

Over the past couple of months, the practice of ad blocking has received heightened ethical scrutiny. (1,2,3,4) If you’re unfamiliar with the term, “ad blocking” refers to software—usually web browser plug-ins, but increasingly mobile apps—that stop most ads from appearing when you use websites or apps that would…

6944

Making sense of React Server Components

This year, the React team unveiled something they've been quietly researching for years: an official way to run React components exclusively on the server. This is a significant paradigm shift, and it's caused a whole lot of confusion in the React community. In this tutorial, we'll explore this new world, and build an…

6953

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…