Purity Framework
A lightweight, native TypeScript frontend framework powered by fine-grained signals, native Web Components, Dependency Injection, HTTP interceptors, and GNOME Adwaita design system.
Key Architectural Features
- Fine-Grained Reactivity: Synchronous signals (
signal), computed derivations (computed), and effects (effect) with automatic dependency tracking.
- Native Web Components: Plain classes transformed into Custom Elements v1 with synchronous compile-time template inlining.
- Dependency Injection: First-class DI container with
@Injectable and inject() resolution.
- HTTP Client & Interceptors: Type-safe HTTP service with centralized request/response interceptors.
- Transform Pipes: Handlebars template transformations with static and reactive dynamic parameters.
- Decoupled Form Validation: Declarative form and field validators with CSS state class management.
- Virtualized Repeater: High-performance GPU-accelerated rendering for datasets up to 100,000+ items.
- GNOME 50 Adwaita Design System: Glassmorphic surfaces, specular borders, and KDE Plasma Breeze vector cursors.
For complete source code and interactive documentation, visit the GitHub Repository.