Hi! I am using Aurelia 2 State plugin (ESNext).
Below are two examples from the docs:
// bind value property of the input to `keywords` property on the global state
<input value.state="keywords">
// bind value property of the input to `keywords` property on the global state
// and dispatch an action with type `newKeywords` on input event
<input value.state="keywords" input.dispatch="{ type: 'newKeywords', value: $event.target.value }">
It is not clearly stated in the docs: considering there are no other dispatch calls, can only the second example produce a state change, being the first one “read-only” due to the lack of a dispatch? Is that right?
Maybe adding this clarification to the docs could help.
Thanks!