Topics /

Web & Frontend

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

2017
125

A solution for enabling UDP in the web

Premise In 2017 the most popular web games like agar.io are networked via WebSockets over TCP. If a UDP equivalent of WebSockets could be incorporated into browsers, it would greatly improve the networking of these games. Background Web browsers are built on top of HTTP, which is a stateless request/response protocol…

129

Things to Use Instead of JSON Web Tokens

You might have heard that you shouldn't be using JWT. That advice is correct - you really shouldn't use it. In general, specifications that allow the attacker to choose the algorithm for negotiation have more problems than ones that don't (see TLS). N libraries need to implement M different encryption and decryption…

138

Refresh Is Sacred

There are two kinds of client applications: The first kind has a “refresh” or “reload” button to make sure your app’s in sync with its server’s view of the world. The second kind is broken.

139

Things to learn in React before using Redux

Facts about React that should be known before using Redux (or MobX). Most important: Learn React first, then opt-in Redux but only if you need it. There are various techniques in React.js for scaling your local state management. Only if these are not sufficient, use a library like Redux ...

141

An Update on Firefox Containers

Containers is now available as a Firefox Extension, accessible to all Firefox users. Download Firefox Multi-Account Containers here. Back in June 2016, we started experimenting with “Containers” as a way to explore Contextual Identities on the web. Firefox Containers are a way for users to isolate their online…

143

Modern Front-end in Rails

An opinionated guide to modern, modular, component-based approach to handling your presentation logic in Rails that does not depend on any frontend framework. Follow our three-part tutorial to learn the bare minimum of up-to-date frontend techniques by example and finally make sense of it all. Part 1: goodbye Asset…

147

The Case for RSS

For several years now, the trend among geeks has been to abandon the RSS format. RSS, or Really Simple Syndication, is a way to queue up and serve content from the internet. The MacSparky RSS, for example, gives RSS applications a list of all the articles I post here since you last checked int. It... Continue reading →