Page loaded: UI Architecture Notes for Angular Teams

Writing

Notes on building, architecting, and maintaining front-end web systems that no longer feel new.

I write about Angular, CSS, responsive design, accessibility, rendering, and long-lived UI decisions shaped by changing requirements, shifting teams, and real business pressure.

Miguel Carino
Focus
Front-end web architecture, Angular, team leadership, and stakeholder communication
Experience
25+ years turning enterprise web complexity into maintainable products

A Contrast Bug the Build Caught

A color that works as a fill can fail as text, and the miss is usually too small to see. Giving words their own shade, and measuring what the browser actually painted, turned a recurring contrast bug into a rule the design system enforces.

The first run of my demo site's accessibility check failed on a red badge at 4.37:1, just under the 4.5:1 WCAG asks of body text. The same miss turned up twice more. How splitting text colors from fill colors fixed it for good, and why checking by eye never would have. read more...

Strict TypeScript Flags Worth Turning On

The strict setting is now TypeScript's default, and it's only the start. A handful of extra flags catch real bugs for almost no cost, and the two famous ones I leave off each have a price I measured.

What strict turns on in TypeScript 6, how a monorepo should set it, the four extra checks and three Angular compiler flags my demo runs with, and what noUncheckedIndexedAccess and exactOptionalPropertyTypes would cost on the same code. read more...

Taking Apart an Angular SSR Page

A server-rendered Angular page makes four trips: rendered on the server, written down, adopted by the browser and caught up on the clicks it missed. Each one has a rule, and most hydration errors are one of them broken.

One prerendered page from my demo site, followed from the build to the first click: the server render, the ngh attributes and ng-state data it leaves behind, how the browser adopts that DOM, event replay, the head hydration never touches and when another rendering mode fits better. read more...

Hot and Cold Observables, Shared on Purpose

Sharing an observable is a decision about who gets the same run of its work and what happens when they leave. Write that decision out per stream, and leave the rest cold.

Why shareReplay(1) at the end of every service call caches what it shouldn't and can hold a connection open with nobody listening, shown with counted fake sources on my demo site. Plus share(), toSignal, httpResource and when to leave an observable cold. read more...

Accessibility You Can Fail a Build On

An automated accessibility check that blocks a merge is worth having. A green result only proves what the check was told to look at, so read its list of rules and pages as closely as you read the results.

My demo site runs axe on every page, in every theme, on every pull request, and any violation fails the build. It had been green for months while skipping the one WCAG 2.2 rule axe can test and six of its pages. How I found the gaps, what they hid and what automation still can't see. read more...

Template-Driven, Reactive or Signal Forms?

Angular has three ways to build a form, and on a small form the user can't tell them apart. Choose by where the form's state should live and who has to test it, then use one way across the codebase.

One sign-up form built template-driven and reactive, side by side on my demo site, with the same rules and the same output. Where the two differ (when the controls exist, typing, testing, async rules), and how Signal Forms change the decision. read more...

How to Read a Lighthouse Report

A Lighthouse score is a summary of a simulated page load. Reading the metrics, the audits and the conditions behind it tells you what to fix, and which number is worth failing a build on.

What each of Lighthouse's four categories tests, how the performance score is weighted, why lab scores move between runs and differ from field data, and how my sites gate pull requests on the parts that hold still. read more...

Picking AVIF Without Picking a Browser

AVIF cut my hero photos to between a fifth and half their size. The real work was making sure every browser still got a picture it could open, and letting the browser make that call.

Mobile Lighthouse scored my portfolio 79, and the hero photo was the slowest thing on the page. How AVIF, the picture element and a few server details brought the bytes down without leaving any browser behind, and where NgOptimizedImage fits. read more...

A Patch You Can Actually Apply

When PHP2Shell landed, sites on a supported branch patched in an afternoon and everyone else started a migration. Angular draws the same line, and staying on the right side of it is the security plan.

PHP2Shell was a patch-level bump for PHP sites on a supported branch and a forced migration for the rest. Angular's support window works the same way, which makes staying current a security decision, not a chore. read more...

A Toast Nobody Heard

A live region only speaks if it was already listening, so the region belongs to the app shell, not to each message.

A save confirmation showed up on screen and never reached the screen reader, so the user saved again. The fix wasn't louder ARIA. It was moving the live regions out of the toasts and into an outlet that exists before any message does. read more...