mattermost-mobile/app/components/refresh_list/refresh_list.js
enahum f50b2b9412 Improving Performance Part 3 (#1011)
* 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
2017-10-11 14:54:13 -03:00

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}
/>
);
}
}