Minimal. Expressive. Compiler-first Javascript Framework docs
// counter.re
import { render } from "@re4/dom"
function hello() {
console.log("Welcome re4!")
}
component Counter {
state count: number = 0
hello()
return (
<button onClick={() => count++}>
Clicked {count}
</button>
)
}
render(Counter, document.getElementById("#app"))
🧠 New mental model — no useState, no hooks
⚡ Compiled — outputs direct DOM ops or glue code
🔌 Renderer-agnostic — works with DOM, Canvas, or custom targets
✍️ .re files with TypeScript+JSX syntax
🔬 Fine-grained reactivity — built-in state, computed, and effect
🚧🚧WIP🚧🚧 Core compiler, renderer, and tooling are being actively built. Stay tuned — this is just the beginning.