Skip to content

Data Binding examples for React Native are wrong #454

@irobin12

Description

@irobin12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions