rive-app / rive-app/rive-react-native

Question: can these be statically-imported?

Open
#146 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
783
Forks
81
Avg merge
3d 6h
Merged PRs (30d)
3

Description

Hi there! I'm new to Rive (found you guys on Twitter) and I love the concept. I was hoping to get a better understanding of how it works on the frontend.

I notice that Rive elements are imported via URL? I was hoping to use this for animated icons in a navigation tab bar and the like, a-la Lottie. But I'm concerned that users with poor internet connection might have a slow time loading multiple requests for the animations, and that it could make the tabs load slowly. Could you explain how this part works? Do they cache on the device, or could I somehow "export" the Rive assets and bundle them with the app?

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

This is a usage question about loading Rive assets by URL and bundling them with a React Native app. No file, test, entry point, or concrete documentation change is named; research would first require locating the asset-loading documentation and determining whether it covers caching and local bundling, with an answer or clarified documentation as the outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
documentation, mobile
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.