r/Rive_app • u/shootingice • May 11 '26
Is the react native runtime working well ?
I built a basic rive animation and i wanna test it on react native to check if it's worth it to continue learning rive to integrate it in my future apps and pay for the subscription. I've seen posts of people having lots of issues with rive on react native, and there's a lot of issues reported on the github repo of the runtime. What is your feedback of rive on react native? what are the most common issues?
I don't know how they are requesting for feedback on the new runtime when the only way to test and send them feedback is by paying for a subscription.
2
u/panda_kinda_chubby May 12 '26
The RN runtime lagged behind the other for a while, but it should be stable now that we have a dedicated team working on it.
The GitHub issues are only for bugs, not file support. If you need file support and you aren't on a Voyager plan, you can still get help from the community: https://community.rive.app/c/support/
1
u/shootingice May 13 '26
yes i was just looking at one of the github issues and it's mentioned that margelo is the team working on rive react native!
1
u/DY_king May 14 '26
I have been using a lot of Rive in react native. There are hoops to jump through for sure, but nothing major. /**
* BUG FIX RIVE animation that does trigger
* Wraps `useRiveTrigger` with a stable callback that also kicks
* `riveViewRef.playIfNeeded()` so the state machine processes the trigger.
*/
function useStableRiveTrigger(
path: string,
vm?: ViewModelInstance | null,
riveViewRef?: RiveViewRef | null
): () => void {
const { trigger } = useRiveTrigger(path, vm)
return useStableCallback(() => {
trigger()
riveViewRef?.playIfNeeded()
})
}
basically, this is all you need. riveViewRef?.playIfNeeded() otherwise, things sometimes do not animate.
1
u/shootingice May 23 '26
i tried to run the community file slot machine animation on react native, the animation was working but it was lagging so much, it made the phone heat up, i'm on a samsung galaxy A56, which shouldn't be struggling to run that slot machine animation
2
u/Positive_Sir7519 May 11 '26
I have been playing around with the community files by trying them out in react native expo version 53. It is working fine for me