software-mansion / software-mansion/react-native-svg

Performance compared to using native PNG support

Open
#1,399 4 comments 24 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Question stale
Dominant language
TypeScript
Stars
8k
Forks
1.2k
Avg merge
10d 9h
Merged PRs (30d)
2

Description

Does anyone have stats on the performance of react-native-svg compared to displaying a png?

I saw an issue here where a screen with a bunch of svgs in a flat list was taking 1-2 seconds to load. Is that normal? Are people using react-native-svg to display lots of icons in their app or would using a large down-scaled PNG be better?

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

No files, tests, or entry points are named in the issue. Start by defining reproducible measurements for react-native-svg icons versus down-scaled PNGs across the described list scenario; done means publishing performance results and a clear recommendation for choosing between them.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.