Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 4,614 posts.

Any year
1086

I switched from Htmx to Datastar

In 2022, David Guillot delivered an inspiring DjangoCon Europe talk , showcasing a web app that looked and felt as dynamic as a React app. Yet he and his team had done something bold. They converted it from React to HTMX , cutting their codebase by almost 70% while significantly improving its capabilities.

1089

Modern SPAs without bundlers, CDNs, or Node.js

I typically start new front-end prototypes with a single HTML file that I view using a file:// URL. I enjoy this practice of incrementally growing my projects, so I’ll keep working in that single file for as long as I can. Once it becomes unwieldy, I’ll split out the CSS and JavaScript into dedicated files. Then when…

1090

How I use HTMX with Go

My new book guides you through the start-to-finish build of a real world web application in Go — covering topics like how to structure your code, manage dependencies, create dynamic database-driven pages, and how to authenticate and authorize users securely .

1096

Mediocre Engineer's Guide to HTTPS

As a mediocre engineer, I took Internet and HTTPS communication for granted and never dove any deeper. Today we’re improving as engineers and learning a rough overview of how internet communication works, specifically focusing on HTTP and TLS.

1101

CSRF is really dead

A little while back I wrote a blog post about how "CSRF is dead". It focused on SameSite cookies, a powerful yet simple feature to protect your website against CSRF attacks. As powerful as it was, and as much as it will kill CSRF, you had to enable it on

1104

A simple web we own

Today, the Web and Internet are owned and controlled by large for-profit corporations and a few governments 1 . Corporate ownership combined with government policies has left us as tenant and product. It has given us a surveillance economy and enshittification 2 .