Skip to main content
Framework-agnostic · TypeScript

CAF

Clean Architecture Frontend — framework-agnostic primitives for frontend apps

Why CAF?

Framework-agnostic

Write business logic once with UseCase, Ploc, and Pulse. Use the same code in React, Vue, Angular, or future frameworks by swapping adapters.

Clean Architecture

Clear separation: domain, application, and infrastructure. Keep the caf/ folder consistent and dependency direction enforced.

Type-safe

Full TypeScript support. UseCase, RequestResult, and Ploc are fully typed so you get autocomplete and safe refactors.