callstack / callstack/react-native-paper
Performance of view and text more than 50% improvement in performance
- Ngôn ngữ chính
- TypeScript
- Star
- 14.5k
- Fork
- 2.2k
- Merge trung bình
- 5 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 12
Mô tả
**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
Hướng dẫn đóng góp
Hướng nghiên cứu
Issue không nêu tệp, test hay entry point nào. Hãy bắt đầu bằng việc profiling quá trình render nhiều component Text và View trên Android, đồng thời xem xét issue react-native-paper-dates được liên kết và các tài liệu tham khảo về performance; để được coi là hoàn tất, cần có một implementation đã được thống nhất và mức cải thiện được đo lường cho các component bị ảnh hưởng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- react-native, typescript
- Lĩnh vực
- mobile, performance
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100