Notes on software and the ideas behind it

Find the meaning
behind the code.

I’m Fred Yang. I write about software—how it works, why it behaves the way it does, and the ideas that make code easier to reason about.

Open the notebook

Working notes / 2026

Recently mapped

Architecture, reactivity, and the hidden relationships that shape frontend systems.

ngrx

Rethink NgRx - Observable (part 1)

NgRx has been around as long as Angular. It is a very popular and so highly praised, if you don’t use it, you will feel you are missed out. NgRx is also controversial. There...
Follow the thread
field note

Angular signal - a new reactivity primitive.

Angular 17 has brought lots of new features. One of them is Signal. If you’re an Angular user, you surely know that zone.js as the underlying mechanism of change detection in Angular. It is...
Follow the thread
field note

Part 3 Angular Change Detection - The cycle and the job

When I use the word change detection, this is not specific enough in Angular. It can be referred as change detection cycle, or it can be referred as change detection job. The cycle refer...
Follow the thread
field note

Part 2 Angular Change Detection - Zone.js

In Part 1, I showcased the best practice in Angular change detection. Now I aim to delve into the rationale behind it. This topic is about Zone.js
Follow the thread
field note

Part 1 Angular Change Detection, what is the end game?

Follow the thread