corgi
Installation
SKILL.md
Corgi is a custom React-like UI framework with JSX support, server-side rendering, hydration, and a controller-based architecture for managing state and handling events.
Core Concepts
Virtual DOM and JSX
Corgi uses JSX with a custom factory function:
import * as corgi from 'external/dev_april_corgi+/js/corgi';
// JSX compiles to corgi.createVirtualElement calls
function MyComponent() {
return <div className="container">Hello World</div>;
}