Skip to main content
Tour of Lux · chapter 6 of 8

Signals

Reactive state, one primitive.

A signal is a value that knows how to change: read it like a value, change it with .update(old -> new). In a script it's a convenient mutable cell — in the next chapter, the same primitive drives live UI.