Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.onViewableItemsChanged = this.onViewableItemsChanged.bind(this);
this.fetchMoreOnEndReached = this.fetchMoreOnEndReached.bind(this);
this.renderItem = this.renderItem.bind(this);
this.state = {
loadingMore: false,
loadMoreError: null,
width: normaliseWidthForAssetRequestCache(screenWidthInPixels())
};
}