* Update mattermost-redux * Tap on Deleted post to remove it * Improvements when rendering post additional content * Avoid unnecessary re-renders on the post list component * Avoid unnecessary re-renders on the channel post list component * Avoid unnecessary re-renders on the channel screen * Feedback review
19 lines
455 B
JavaScript
19 lines
455 B
JavaScript
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import React, {PureComponent} from 'react';
|
|
import {RefreshControl} from 'react-native';
|
|
|
|
export default class RefreshList extends PureComponent {
|
|
static propTypes = {
|
|
...RefreshControl.propTypes
|
|
};
|
|
|
|
render() {
|
|
return (
|
|
<RefreshControl
|
|
{...this.props}
|
|
/>
|
|
);
|
|
}
|
|
}
|