Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 8,469 posts.

Any year
6937

CSS background image hacks

Emulating background image crop, background image opacity, background transforms, and improved background positioning. A few hacks relying on CSS pseudo-elements to emulate features unavailable or not yet widely supported by modern browsers.

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…

6939

Everyone has JavaScript, right?

These are by no means all the reasons why your JavaScript might fail to run even when you expected it to. Andy Bell has a great list over at piccalil.li of a handful of very realistic reasons JavaScript won’t be available . Check ’em out, and be prepared.

6942

Libadwaita: Splitting GTK and Design Language

Recently, the Linux Mint Blog published Monthly News – April 2024, which goes into detail about wanting to fork and maintain older GNOME apps in collaboration with other GTK-based desktop environments. Despite the good intentions of the author, Clem, many readers interpreted this as an attack against GNOME…

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…

6957

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…