✅ Solved: DataBinding string not updating
I’m using databinding and reading a .riv in react. I can see the view model and update a string properly with this code:
const viewModel = useViewModel(rivesStates[0], { name: 'MM' });
const defaultUnbound = useViewModelInstance(viewModel, {
rive: rivesStates[0],
});
const { value: var15Sub, setValue: set15Sub } = useViewModelInstanceString(
'15_sub', // Property path
defaultUnbound
);It updates in one of the artboard/state machines properly, but i have two texts binded to the same string and one of them updates and the other no.
The variable_tester updates properly but the variable_tester 2, doesnt.
There’s the view model configuration:
Attached the .rev file
mm_-_15_online 5.revThanks for your help!