Topics /

Web & Frontend

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

2022
91

Why React Re-Renders

In React, we don't update the DOM directly, we tell React what we want the DOM to look like, and React tackles the rest. But how exactly does it do this? In this tutorial, we'll unpack exactly when and why React re-renders, and how we can use this information to optimize the performance of our React apps.

96

The web starts on page four

After 25 years of working for, on and with the web, I am looking at the current state of it and I don’t like it. There is still a lot of beautiful, creative and amazing work out there, but on the whole, we lost an amazing opportunity. In its place we have a consumption machine that creates bubbles and assumes new…

99

Why Is the Web So Monotonous? Google

Does it ever feel like the internet is getting worse? That’s been my impression for the last decade. The internet feels now like it consists of ten big sites, plus fifty auxiliary sites that come up whenever you search for something outside of the everyday ten. It feels like it’s harder to find amateur opinions on…

100

Server-sent events, WebSockets, and HTTP

The orange site is currently discussing an article about Server-Sent Events, especially as compared with WebSockets (and the emerging WebTransport). Both the article and discussion are well-informed, but I think they miss out on one aspect that has fairly deep implications.

110

Why I Don't Use Netscape (1999)

But these browsers have one great feature: They give a very good indication whether a page is worth reading. If these browsers don't display anything, or the display looks shitty, there usually is not much content, either (In a few cases I looked up the page with something more advanced (e.g., Arena), and I was always…

118

Apple is not defending browser engine choice

Some folks claim that Apple's mandated inadequacy for browsers and their engines is somehow beneficial to the cause of ensuring a diverse pool of web engines. Nothing could be farther from the truth, but to understand why, we need to understand how browsers are funded. With that understanding, we can see that not only…

120

Write HTML Right

Even with a lot of help from a good text editor, writing HTML can be a drag. Nice documents end up as tag-swamps with little bits of content perched atop hills of tabs. Editing them becomes a test of patience and we get sick at the thought of having to look at our once-loved text. It doesn't have to be like this!…