callstack / callstack/react-native-paper

Performance of view and text more than 50% improvement in performance

Open
#4,157 0 comments 5 reactions 0 assignees View on GitHub
feature request
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

**Is your feature request related to a problem? Please describe.**
I find that sometimes when I render a lot of text components or other stuff on Android the performance is degraded. Especially in react native paper dates where I will also test out it this optimisation soon
https://github.com/web-ridge/react-native-paper-dates/issues/67

**Describe the solution you'd like**
- A new Text/View component which is used internally for a lot of the components which uses the native views directly:
- Using React.memo in all components

**Describe alternatives you've considered**
Forking react-native-paper

**Additional context**
https://twitter.com/FernandoTheRojo/status/1707762822015267219
https://twitter.com/todor_one/status/1421419537673723907
https://twitter.com/wcandillon/status/1421421507662725121

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by profiling rendering lots of Text and View components on Android and reviewing the linked react-native-paper-dates issue and performance references; done would require an agreed implementation and measured improvement for the affected components.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile, performance
Issue type
Feature
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.