Skip to main content

Selectors

Selectors are not necessary because state field access is tracked by a Proxy wrapper. A selector can optionally be specified using the select attribute.

Register some state

Live Editor
Result
Loading...

Access state without a selector:

Live Editor
Result
Loading...

Access state with a selector

Live Editor
Result
Loading...