callstack / callstack/react-native-paper
Performance of view and text more than 50% improvement in performance
- 主要语言
- TypeScript
- 星标
- 14.5k
- 派生
- 2.2k
- 平均合并
- 5 天 23 小时
- 30 天内合并 PR
- 12
描述
**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
贡献指南
调研方向
该 issue 没有列出文件、测试或入口点。首先对 Android 上大量 Text 和 View 组件的渲染进行性能分析,并查看链接的 react-native-paper-dates issue 和性能参考资料;要视为完成,需要有达成共识的实现方案,以及受影响组件经测量得到的改进。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- mobile, performance
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100