Topics /

Web & Frontend

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

Any year
6482

OOCSS + Sass = The best way to CSS

Object-oriented CSS is awesome. But littering your markup with non-semantic classes is not awesome. Those classes sprinkled all over your HTML are going to change, and that’s not gonna be fun. But if you combine OOCSS and Sass you get the best of both worlds: modular CSS without bloated, hard-to-maintain HTML.

6488

Chrome Returns 206 when the Server Returns 403

Chrome Returns 206 when the Server Returns 403 Postmortem It is a feature not a bug! I got detailed explanation from chrome developers which is very helpful. You may find the complete response in the bug ticket. Also this blog post draws a lot of attention after I post it on Hackers News. You may find comments here…

6494

Instant Web Application

Instant TodoMVC demo (please use Chrome Desktop for now!), source Uses bottle-service library to implement self-rewriting Open your favorite web application, even a simple TodoMVC would work. Let it

6498

Binary in JavaScript

Over the last week or so, I've spent my spare time working on a new roguelike game, with a focus on extensive and interesting planet generation. A key characteristic of the genre is that the game world is procedurally generated and this one is no exception.

6499

Pushing and Pulling: Three reactivity algorithms

It’s looking like I’m going to need to build a reactive engine for work, so I’m going to prepare for that by writing down what I know about them. I want to look at three ways of building reactive engines: push reactivity, pull reactivity, and the hybrid push/pull combination that is used in a bunch of web frameworks…

6509

Just Use HTML

I’ve worked on so many projects recently that were more complicated than they needed to be because they used JavaScript to generate HTML. JavaScript is… Slower to load Slower to run More prone to breaking Harder to read and reason about Doesn’t actually look like the final output It’s inferior to just using HTML in…