Skip to main content
T
5d ago

Read the inputs from the state machine in React Native runtime

I find it a bit confusing to not be able to read state machine inputs in React Native, only methods to set it are accessible on the riveRef.current object. In my opinion it makes separation of concerns about what should be made in the Rive editor and what should be made codewise blurry. If i'm setting some logic in the Rive editor, I find it a bit redundant to have to redo it in react using local states.
But maybe there a particular reason I'm missing for why it's designed that way ?
I'd be curious to know.
Thanks a lot for you amazing work anyways, I've gotten into Rive recently and I'm quite amazed by it 👏

Join the discussion
Join Rive to reply J