revert onEndReached change to investigate perf regression

Differential Revision: D2651998

fb-gh-sync-id: 81ef96bbd79a282b5d82b8cc9b0654e7163fbdfb
This commit is contained in:
Spencer Ahrens
2015-11-13 06:07:51 -08:00
committed by facebook-github-bot-3
parent c47116273d
commit a94c2aea37

View File

@@ -277,7 +277,6 @@ var ListView = React.createClass({
componentWillReceiveProps: function(nextProps) {
if (this.props.dataSource !== nextProps.dataSource) {
this._sentEndForContentLength = null;
this.setState((state, props) => {
var rowsToRender = Math.min(
state.curRenderedRowsCount + props.pageSize,