akveo / akveo/react-native-ui-kitten
List manipulation slow component performance
- 主要語言
- TypeScript
- 星號
- 10.7k
- 分支
- 962
- PR 合併指標
- 30 天內沒有已合併 PR
描述
## 🐛 Bug Report
Doing any type of manipulation on List component, for example adding new list items or re-ordering, produces slow re-rendering performance regardless of the number of elements in the list. Takes about 0,5 seconds for the list to re-render with the new updates.
## To Reproduce
Created a List that renders ListItems derived from an array in component state. Create a button that adds a new item on to the array and sets state. When pressing the button, List should re-render with the new item almost immediately.
## Expected behavior
Re-rendering of the list should be snappy.
## Link to runnable example or repository (highly encouraged)
https://snack.expo.io/iwdW_iLw4
## UI Kitten and Eva version
| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | 5.0.0 |
| @ui-kitten/components | 2.0.0 |
## Environment information
System:
OS: Windows 10 10.0.18363
CPU: (4) x64 AMD Ryzen 3 2300X Quad-Core Processor
Binaries:
Node: 12.19.0 - C:\Program Files\nodejs\node.EXE
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 4.1.0.0 AI-201.8743.12.41.6858069
npmPackages:
react: 16.14.0 => 16.14.0
react-native: 0.63.3 => 0.63.3
```bash
```
貢獻指南
評估
這個 Issue 還沒有評估資料。