Skip to content

Component Lifecycle

Component Lifecycle is a lightweight, framework‑agnostic engine that brings a predictable lifecycle, typed events, and state‑driven behavior to DOM components.

It provides:

  • a clear lifecycle model (init → attach → dispose → destroy)
  • fully typed events using TypeScript template literal types
  • a built‑in state machine with validation and introspection
  • extensible hooks for customizing component behavior
  • zero dependencies and minimal footprint

Whether you're building reusable UI primitives or complex interactive widgets, Component Lifecycle gives you a solid architectural foundation without locking you into any framework.

If you're new here, start with Getting Started.