What problem does it solve?
This skill provides end-to-end guidance for building AppRun applications in TypeScript using the MVU (Model-View-Update) pattern. It helps teams learn patterns for components, event handling, and stable state management including async generators, along with routing and testing practices.
Core Features & Use Cases
- MVU patterns: Clear models for state, view, and update functions to create predictable, testable components.
- Routing & navigation: Declarative route registration and programmatic navigation with parameters and guards.
- Testing: Guidelines for unit testing AppRun components and update handlers with Vitest.
- Use Case: Design a small AppRun app that demonstrates a routed page with async data loading and a modal component.
Quick Start
Start with a minimal AppRun project, install AppRun, set up a simple MVU page, and register routes in main.tsx.