mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 17:13:46 +08:00
revert onEndReached change to investigate perf regression
Differential Revision: D2651998 fb-gh-sync-id: 81ef96bbd79a282b5d82b8cc9b0654e7163fbdfb
This commit is contained in:
committed by
facebook-github-bot-3
parent
c47116273d
commit
a94c2aea37
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user