Regira Engineering Blog

Notes on .NET, TypeScript & Vue

Patterns, gotchas and small wins from fifteen-odd years of .NET and web work — the Regira packages and modules, entity pipelines, editorial front-ends and everything between.

4 articles #spa ×
TypeScript / Vue / Tips & Tricks

Saving, Saved or Failed

Series · Entities front-end

Every form in the app shows saving, saved or failed the same way, instead of each one re-inventing it. One small object carries the state, and one panel shows it.

7 min read
TypeScript / Vue

The API Sends a List, the Screen Needs a Tree

Series · Hierarchical data

Show the flat list an API returns as a tree users can expand, select and drag to a new parent. No recursive component, and illegal drops are refused in the browser before they reach the server.

8 min read
TypeScript / Vue / Architecture

Edit Forms That Survive Reality

Series · Entities front-end

Edit forms where Cancel always works, a save shows what the server stored, a refused delete says so, and a deleted record can be brought back. Four decisions, in Vue.

9 min read
TypeScript / Vue / Architecture

List Screens That Survive the Back Button

Series · Entities front-end

A list screen users can bookmark, share and hit Back on without losing their filters, and that never shows an error over data that loaded fine. The rules behind it, and the Vue composables that apply them.

Pinned 11 min read