Inconsistent .riv loading and data binding in React 18
I’m seeing cases where .riv files sometimes fail to load correctly and data binding (inputs/state machines) resets on its own in development.
In React 18.3.1 using @rive-app/react, I’ve applied recommended optimizations (client-side init, useRive() once, no remounts or dynamic keys, updating inputs after ready, memoization), but the .riv still occasionally fails to be read or resets unexpectedly.
Does anyone have a solution or workaround for this?