Open akontaroudis opened 4 years ago
When there is a long list of images rendered there is a noticeable lag when selecting an image. This is due to the fact that all ImageItem components are rerendered. This is simple change to make ImageItem a PureComponent.
ImageItem
PureComponent
When there is a long list of images rendered there is a noticeable lag when selecting an image. This is due to the fact that all
ImageItem
components are rerendered. This is simple change to makeImageItem
aPureComponent
.