Introducing Loom
Introducing Loom
February 11, 2026
「#」
func App() Node {
count, setCount := Signal(0)
increment := func(*Event) {
setCount(count() + 1)
}
return Div(
H2(Text("Count: "), BindText(count)),
Button(
Text("Increment"),
On("click", increment),
),
)
}