Path: /runtimes/data-binding
As I've explained in this Rive forum post, the documentation for the React Native implementation of Data Binding, such as setting a List Item value, are wrong. There is no ".set" method available. After hours of research, my team has managed to find a solution thanks to this code hidden away: https://github.com/rive-app/rive-nitro-react-native/blob/main/example/src/exercisers/MenuListExample.tsx
The documentation should have proper examples of the implementation of the Rive API, to avoid devs being stranded and unable to set/read values properly. We're mostly highlighting the List issue as this was what we were working on, but probably many React Native code examples should be reviewed.
Path: /runtimes/data-binding
As I've explained in this Rive forum post, the documentation for the React Native implementation of Data Binding, such as setting a List Item value, are wrong. There is no ".set" method available. After hours of research, my team has managed to find a solution thanks to this code hidden away: https://github.com/rive-app/rive-nitro-react-native/blob/main/example/src/exercisers/MenuListExample.tsx
The documentation should have proper examples of the implementation of the Rive API, to avoid devs being stranded and unable to set/read values properly. We're mostly highlighting the List issue as this was what we were working on, but probably many React Native code examples should be reviewed.