▲ 0 r/angular
@craft-ng: Type-safe Angular, by construction
If you want to try craft-ng, I’ve just released a beta version: The problems u/craft-ng solves:
- Fine-grained reactivity — only the affected bindings are updated.
- One consistent API for every kind of state — state, query, mutation, queryParams, asyncProcess.
- Composable by design — state, directives, components, and behaviors can be combined with .pipe(...).
- Function-based services — no u/Injectable, no constructors.
- Selectorless & tagless components — typed references with no extra wrapper elements added to the DOM.
- Compile-time dependency checks — missing provider, invalid route, or unhandled error = the build fails.
- Exceptions as values — declared errors flow through the type system.
- Forms derived from state — validators and field-level logic, with errors preserved in the type system.
- Tests aligned with the actual dependency graph — missing mocks become compile-time errors.
- Compile-time template assertions — verify what will be rendered without TestBed, DOM, or fixtures.
- Templates are TypeScript functions — fully typed hyperscript.
- Built-in observability — structured logs, correlation IDs, timings, and dependency graphs.
- Architecture as a graph (WIP) — visualize and enforce architectural boundaries.
- Typed SolidJS v2 Suspense / async-boundary-like features (WIP).
- Typed CSS variables and truly scoped styles (WIP).
u/Dismal_Chemical_4734 — 8 days ago