Counter
A reactive counter driven by signal() — click to increment or decrement and watch the DOM update instantly.
Experiment with reactive signals, computed values, and live DOM updates — all running client-side with zero build tools.
A reactive counter driven by signal() — click to increment or decrement and watch the DOM update instantly.
Type your name below. A computed() signal derives a greeting, and an effect() logs each change.
Two-way binding via signals. Change one and the other updates reactively.
Add and remove items to see @for re-render reactively. Uses @empty for the empty state.