bvaughn / react-virtualized

React components for efficiently rendering large lists and tabular data
http://bvaughn.github.io/react-virtualized/
MIT License
26.12k stars 3.06k forks source link

Failed to receive state for initial rendering in function getRowHeight #1718

Open lzy19926 opened 2 years ago

lzy19926 commented 2 years ago

image image

If rowCount is written as a constant number , this.getRowHeight cannot receive any asynchronous state in the first few renders. As a result, the list data cannot be obtained, and the browser reports an error directly