You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Accessibility**: Built-in WCAG 2.1 AA compliance; keyboard navigation, screen reader support
68
-
-**Responsive components**: Mobile-first design; components adapt to breakpoints
69
-
-**Microsoft ecosystem**: Native C# integration; no JavaScript bridging complexity
65
+
Aurelia 2 provides a lightweight, modern TypeScript-based frontend with:
70
66
71
-
Trade-offs: Tied to Blazor version; updates require testing. Lock version to v4.13.x and higher as new versions are released for stability but also keeping up to date.
67
+
-**Strong composability**: Components are simple, reusable, and testable; no framework lock-in
68
+
-**Standards-based**: Built on modern web standards (ES modules, Web Components patterns); minimal runtime overhead
69
+
-**Flexible deployment**: Static site hosting for local-first development; compiles to plain HTML/CSS/JavaScript with no server dependency
70
+
-**TypeScript support**: Full type safety; integrates seamlessly with modern build tooling
71
+
-**Validation patterns**: Native browser constraints + Aurelia validation library; official docs at https://docs.aurelia.io/
72
+
73
+
Trade-offs: Smaller ecosystem than Blazor; requires JavaScript/TypeScript familiarity. Justified for high portability and low deployment friction (static site hosting) in local-first architecture.
74
+
75
+
### Amendment: Why Switched from Blazor WebAssembly to Aurelia 2 (v1.9)?
76
+
77
+
**Decision Date**: 2026-03-11
78
+
**Trigger**: User evaluation of frontend technology alternatives for local-first deployment
79
+
**Rationale**:
80
+
- Blazor WASM introduces browser download overhead (initial 2–6MB load) and requires .NET runtime download, which conflicts with mobile-first design goals
81
+
- Aurelia 2 compiles to lightweight static assets suitable for both local and cloud-static hosting (Azure Static Web Apps)
82
+
- TypeScript ecosystem provides strong tooling, clear separation of frontend/backend concerns, and simpler local development (no ASP.NET integration needed for frontend build)
83
+
- Aurelia's official docs (https://docs.aurelia.io/) provide canonical implementation guidance
84
+
85
+
**Changes**:
86
+
- Constitution v1.9: All frontend references updated from Blazor WASM to Aurelia 2
87
+
- Principle V: UI built with Aurelia 2 components + centralized theme tokens
0 commit comments