Architecture Decision Records
Architecture Decision Records (ADRs) for the Granit Frontend SDK document significant technical decisions made during the development of the TypeScript and React packages.
Each ADR follows the same template as backend ADRs: Context, Decision, Alternatives Considered, Justification, Consequences, and Re-evaluation Conditions.
ADR index
Section titled “ADR index”| # | Title | Status | Date | Scope |
|---|---|---|---|---|
| 001 | TypeScript Source-Direct — No Build Step | Accepted | 2026-02-27 | All @granit/* packages |
| 002 | pnpm Workspace Monorepo | Accepted | 2026-02-27 | granit-front |
| 003 | React 19 as Minimum Version | Accepted | 2026-02-27 | All React packages |
| 004 | Headless Packages — Hooks Only, UI in Consumer Apps | Accepted | 2026-03-06 | All @granit/* packages |
| 005 | Keycloak as Authentication Provider | Accepted | 2026-02-27 | @granit/authentication |
| 006 | TanStack Query for Data Fetching | Accepted | 2026-03-04 | All React data-fetching packages |
| 007 | Vitest as Test Runner | Accepted | 2026-02-27 | granit-front |
| 008 | OpenTelemetry for Distributed Tracing | Accepted | 2026-03-04 | @granit/tracing |