~/STATE · Wanted

State management

In NSGo, state is a reactive graph that runs in Go: signals hold values, memos derive from them, and only the parts of the screen that read a value update. Community solutions build on it.

app.go
count := core.NewSignal(cx, 0) core.Text{ContentFunc: func() string { return fmt.Sprintf("%d", count.Get()) }} count.Set(5) count.Update(func(n int) int { return n + 1 })
Components and state ↗

Be the first state solution listed

For example: a store built on signals, undo and redo, state persisted on the device or synced across devices.