Refactor connection/list stuff

Reviewed By: devknoll

Differential Revision: D3233991

fb-gh-sync-id: bd10dd2856da6b8fb3bac7a8ec3a7e34eeb58f80
fbshipit-source-id: bd10dd2856da6b8fb3bac7a8ec3a7e34eeb58f80
This commit is contained in:
Spencer Ahrens 2016-04-30 10:27:53 -07:00 committed by Facebook Github Bot 6
parent 34dd17cae5
commit 2c3576a50a
1 changed files with 5 additions and 0 deletions

View File

@ -159,6 +159,11 @@ type Props = {
* range of start plus count.
*/
onMountedRowsWillChange?: (firstIdx: number, count: number) => void;
/**
* Change this when you want to make sure the WindowedListView will re-render, for example when the result of
* `renderScrollComponent` might change. It will be compared in `shouldComponentUpdate`.
*/
shouldUpdateToken?: string;
};
type State = {