FrameworkModules: framework/component, framework/executor, framework/hotreload, framework/middleware, framework/routing, framework/store, framework/vdom, framework/vdom_lite

Framework

Modules: framework/component, framework/executor, framework/hotreload, framework/middleware, framework/routing, framework/store, framework/vdom, framework/vdom_lite

The framework modules are application-facing building blocks for component registries, simple task execution, middleware/routing, state stores, virtual DOM diffing, and hot reload.

AreaNotable Types
ComponentsComponentInfo, ComponentRegistry
ExecutorTask, TaskHandle, SimpleExecutor
Hot reloadHotModule, HotReloadWatcher, HotState, StateSnapshot
MiddlewareMiddlewareContext, SimpleMiddlewareStack, LoggingMiddleware, AuthMiddleware, RateLimitMiddleware, TimingMiddleware, SandboxedMiddleware
RoutingRoute, RouteMatch, Router
StoreMutationEntry, StoreSnapshot, StoreRegistry, TimeTravel
VDOMVNode, Patch, VDOMDiffer, VDOMPatcher, VDOMEngine

Facade Component Syntax

The compiler recognizes facade component functions and component-local UI constructs:

component Panel(title: String) {
    state open: Bool = true
    computed label: String = title
    uiEffect {
        println(label)
    }
}

Named arguments, callback block arguments, and trailing/named slot blocks are parsed as part of the declarative UI surface. The frontend emits diagnostics for missing and duplicate stable keys in dynamic component children.

See also Hot Reload.

Architected in Kotlin. Rendered with Materia. Powered by Aether.
© 2026 Yousef.