1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# State
Demonstrates reactive state with `State[T]`, using `.Get()` in render and `.Set()`/`.Update()` to trigger automatic re-renders, plus `if`/`for`/`:=` bindings for reactive children.
## Screenshot

## Run
```bash
go run .
```
## Guide
For a detailed walkthrough, see the [State guide](https://go-tui.dev/guide/state).
|