Just Jeb

Agents · Engineering · The parts nobody documents

Writing

Everything published here, newest first — 15 posts.

Agents

When you build an agent that acts on a user’s behalf, letting the agent decide whether to ask first leaves the user to chance. This article works out where that decision should live.

Nov 2026 · 19 min

JavaScript

The event loop, step by step

Why does your page freeze after a click?

Bob’s HACK button freezes the page for a second, and the fix he finds is the old setTimeout(…, 0) trick. This post follows his click through the event loop to see what that trick really changes.

Oct 2026 · 17 min

A function signature grows until the call site reads greet('John', undefined, false, undefined, 'Mr.'). Nothing stops an agent adding a sixth argument, and whoever reads that line later pays for it.

Apr 2022 · 5 min

Performance

The event loop, step by step

Why does your page freeze after a click?

Bob’s HACK button freezes the page for a second, and the fix he finds is the old setTimeout(…, 0) trick. This post follows his click through the event loop to see what that trick really changes.

Oct 2026 · 17 min

Your field data can look perfectly fine while the score sits at 70. Most people reading that number decide the site is slow, so the score ends up mattering because it matters to them.

Feb 2023 · 16 min

I fix the list’s keys, re-record, and the numbers are identical — same renders, same duration. What moved is the reason the Profiler gives for each render, and that reason is what tells you which fix to try next.

Dec 2021 · 10 min

React

I fix the list’s keys, re-record, and the numbers are identical — same renders, same duration. What moved is the reason the Profiler gives for each render, and that reason is what tells you which fix to try next.

Dec 2021 · 10 min

Custom hooks reuse stateful logic and isolate it at the same time. Moving the calculation behind a context provider is what gives you control over how often it runs, and where in the tree.

Aug 2021 · 3 min

Angular

A builder is a function that gets validated options and a context, and reports back whether it worked. Everything around it — the package entry, builders.json, the schema — is how Architect finds it.

Aug 2021 · 8 min

An extension is several separate execution contexts that happen to ship in one folder, and Angular only ever lives in one of them. Most of the friction comes from a build that doesn’t know that yet.

Jul 2021 · 13 min

Open source

2026

When you build an agent that acts on a user’s behalf, letting the agent decide whether to ask first leaves the user to chance. This article works out where that decision should live.

Nov 2026 · 19 min
The event loop, step by step

Why does your page freeze after a click?

Bob’s HACK button freezes the page for a second, and the fix he finds is the old setTimeout(…, 0) trick. This post follows his click through the event loop to see what that trick really changes.

Oct 2026 · 17 min

2023

Your field data can look perfectly fine while the score sits at 70. Most people reading that number decide the site is slow, so the score ends up mattering because it matters to them.

Feb 2023 · 16 min

2022

A function signature grows until the call site reads greet('John', undefined, false, undefined, 'Mr.'). Nothing stops an agent adding a sixth argument, and whoever reads that line later pays for it.

Apr 2022 · 5 min

2021

I fix the list’s keys, re-record, and the numbers are identical — same renders, same duration. What moved is the reason the Profiler gives for each render, and that reason is what tells you which fix to try next.

Dec 2021 · 10 min

Custom hooks reuse stateful logic and isolate it at the same time. Moving the calculation behind a context provider is what gives you control over how often it runs, and where in the tree.

Aug 2021 · 3 min

A builder is a function that gets validated options and a context, and reports back whether it worked. Everything around it — the package entry, builders.json, the schema — is how Architect finds it.

Aug 2021 · 8 min

An extension is several separate execution contexts that happen to ship in one folder, and Angular only ever lives in one of them. Most of the friction comes from a build that doesn’t know that yet.

Jul 2021 · 13 min

2020