Skip to content

A little suggestion #27

@codthing

Description

@codthing
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions