suwu150 / react-native-tree-select

react-native-tree-select组件树形结构选择

Home Page:https://www.npmjs.com/package/react-native-tree-select

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A little suggestion

codthing opened this issue · comments

VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices 
like PureComponent, shouldComponentUpdate, etc. {"contentLength": 4587, "dt": 1267, "prevDt": 2956}

The above is the warning when rendering 1117 rows and 41.8KB of data, so can use useMemo to optimize the rendering? Otherwise, the low-configuration device will take up more CPU resources, resulting in performance degradation or even inoperability.

thanks.