Skip to content

How to: two-way bind a value

You want a native control’s value to stay in sync with a variable without wiring your own change handler by hand.

React has no equivalent sugar. React’s controlled-component idiom (value + onValueChange, both explicit) is already the two-way binding — there is no [(value)]/v-model shorthand to reach for, and none is planned.

The controlled-write correction (native reports a change, you don’t update value, SymbioteNative commands native back to the JS value) is shared logic in @symbiote-native/components, not reimplemented per adapter or per binding style — v-model/[(value)]/$bindable() are all sugar on top of the same contract described in the Events guide and the Vue API reference.