Topics /

Web & Frontend

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

Any year
1682

* { box-sizing: border-box } FTW

One of my least favorite parts about layout with CSS is the relationship of width and padding. You’re busy defining widths to match your grid or general column proportions, then down the line you start to add in text, which necessitates defining padding for those boxes. And ‘lo and behold, you now are subtracting…

1689

An SVG is all you need

SVGs are pretty cool - vector graphics in a simple XML format. They are supported on just about every device and platform, are crisp on every display, and can have embedded scripts in to make them interactive. They're way more capable than many people realise, and I think we can capitalise on some of that unrealised…

1699

JavaScript is Good, Actually

The subtext of many discussions around building software in Electron and React/Native involve this assumption that JavaScript is bad. There is a kind of unspoken understanding that JavaScript developers are stuck writing it, that either:

1700

Advice for the next dozen Rust GUIs

A few times a week, someone asks on the #gui-and-ui channel on the Rust Discord, “what is the best UI toolkit for my application?” Unfortunately there is still no clear answer to this question. Generally the top contenders are egui, Iced, and Druid, with Slint looking promising as well, but web-based approaches such…

1701

Phoenix 1.7 is View-less

Phoenix 1.7 is dropping Phoenix.View, but it's for a good reason! Controllers and LiveViews will now render function components. And the aim is to collocate templates next to the controller that renders them!

1705

gRPC-Web is going GA

On behalf of the Cloud Native Computing Foundation, I’m excited to announce the GA release of gRPC-Web, a JavaScript client library that enables web apps to communicate directly with backend gRPC…

1706

The Verge's web sucks

TL;DR: Did you know that The Verge delivers you to around 20 companies for advertising & tracking purposes? I didn't. That might foul up your web experience a little bit. Maybe we should try something different.