STATE gives you reactive references to state keys through attribute access. STATE.count is equivalent to Rx("count") — it creates an Rx reference without needing to declare one separately.
Usage
STATE is useful for referencing keys created dynamically by form controls or actions without needing a separate Rx declaration:
Dot Paths
Attribute access chains naturally. Each. adds a path segment to the expression:
Import
STATE anywhere you need a quick reactive reference to a state key without creating a separate Rx.