RSSAmplifier

Blog

JASON Format

jasonformat.comRSS feed ↗17 posts

Latest posts

Quick tip: reusable Array search predicates

JavaScript's this keyword doesn't get much love these days, but there's one fun way to use it that might convince folks to reconsider their lint rules.

Element Worklet

I've been contemplating ways to build more resilient web applications. One consistent issue that seems to crop up in my explorations is that we have no way to execute JavaScript at a given priority.

Real sleep() in JavaScript

The JavaScript language is single-threaded, which means that blocking that single thread for any period of time will prevent importing things like input handling and rendering.

Event Listeners: Delegation VS Direct Binding

The DOM provides a mechanism for registering event handlers that supports two techniques for observing events: directly-bound per-element listeners, and “delegated” listeners that receive events orig…

Islands Architecture

I’ve struggled to find references to this online, but heard the name used multiple times this year when describing the approach outlined here.

Rome, a new JavaScript Toolchain

Sebastian McKenzie, the original creator of Yarn and Babel and a member of the React Native team at Facebook, has been working on an “all-in-one” solution for JavaScript and TypeScript development.

Application Holotypes: A Guide to Architecture Decisions

Analyzing real-world apps is difficult. Classifying based on features & constraints enables targeted solutions to the problems faced by each.

Modern Script Loading

Serving the right code to the right browsers can be tricky. Here are some options.

Enabling Modern JavaScript on npm

Modern JavaScript syntax lets you do more with less code, but how much of the JavaScript we ship to users is actually modern?

WTF is JSX

JSX is actually quite straightforward: take 1 minute and read this, and you'll understand everything there is to know about this interesting alternative to templates.

A Challenge for Centralized State

I build distributed frontends using components (preact components, but that's not important). Components are a great unit of composition when the structure of a system cannot be statically determine…

UMD is Dead! Long Live UMD!

In the front-end world, we've been publishing modules as UMD (Universal Module Definition) for quite some time - at least 6 years. That's a longevity we don't often see in this industry, and we owe t…

How CSS Modules Work (today)

Here's a quick intro to how you can make use of CSS Modules today, using Webpack's awesome css-loader.

Props Down, Events Up

Let's assume you're using some component-based Virtual DOM rendering library like Preact.

Universal VDOM Components with factory-loader

There is a commonly known issue in the React/etc community that we haven't been able to piece together a solution for yet. I think I might have stumbled onto a decent way to solve the problem, in th…

Preact AMA on Sideway

🎤 This was originally published as Preact.js with Jason Miller on Sideway.

My ES2015 + LESS Webpack Setup

Foreword: I generally do these things as Gists, but I figured this one is such a common question it would be worthwhile posting here.