rive-app / rive-app/rive-react-native
No way to set Image defined on VIewModel through DataBinding ?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 783
- Forks
- 81
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 3
Description
Description
DataBinding supports Number, String, Boolean, Color, Trigger, Enum, Image, List, Nesting, etc.
But rive-react-native (9.5.0) only exports the following utility hooks to set DataBindings:
- useRiveBoolean
- useRiveString
- useRiveNumber
- useRiveEnum
- useRiveColor
- useRiveTrigger
Nothing for other types like Image
Do you confirm it's not possible today with rive-react-native to handle dynamic Images on ViewModels while it's supported by the Editor?
Is it planned?
Thanks in advance
Expected behavior
Have a way to control Images on ViewModels dynamically
Device & Versions (please complete the following information)
- Device: Any
- OS: Any
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the exported data-binding hooks in rive-react-native 9.5.0 and compare them with the Image and other supported DataBinding types described in the issue. Done means a documented, usable way to control Images dynamically on ViewModels, with the relevant behavior verified in the project’s existing checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100