Open igortas opened 1 year ago
Hi, Setting react-window component as parent on top of <TableRow /> component from @mui, the rendering of the table makes so slooow.
<TableRow />
<TableBody> <Grid rowCount={data.length} columnCount={2} itemData={data} columnWidth={50} rowHeight={50} height={1000} width={1000} > {({ data }) => { return ( <> {data .map((row, index) => ( <TableRow key={`row-${index}`} row={row} index={index} onClick={onClick} /> ))} </> ); }} </Grid> </TableBody>
BR,
Hi, Setting react-window component as parent on top of
<TableRow />
component from @mui, the rendering of the table makes so slooow.BR,