Closed khuong-tran closed 3 weeks ago
I'm using latest version of react-window with MUI and NextJS. Here is how the row is rendered
{({ index, style }) => ( <Box key={index} sx={style}> <MenuItem2 {...countries[index]} /> </Box> )}
MenuItem2 is a class component and in there i put some log in shouldComponentUpdate function but it never get called. Any help is much appreciated.
I'm using latest version of react-window with MUI and NextJS. Here is how the row is rendered
MenuItem2 is a class component and in there i put some log in shouldComponentUpdate function but it never get called. Any help is much appreciated.