use PureComponent

This commit is contained in:
srgooglo 2022-10-12 00:30:34 +02:00
parent 6a56873886
commit ab8eaa0dbe

View File

@ -21,7 +21,7 @@ const NoResultComponent = () => {
} }
// FIXME: Scroll behavior should scroll to next post or the previous one depending on the direction of the scroll // FIXME: Scroll behavior should scroll to next post or the previous one depending on the direction of the scroll
export default class PostsFeed extends React.Component { export default class PostsFeed extends React.PureComponent {
state = { state = {
initialLoading: true, initialLoading: true,
fetchingData: true, fetchingData: true,