Store preferences and scrolling, refactor to useReducer

Reviewed By: priteshrnandgaonkar

Differential Revision: D26848266

fbshipit-source-id: 738d52556b9fb65ec5b5de7c727467227167b9b9
This commit is contained in:
Michel Weststrate
2021-03-16 14:54:53 -07:00
committed by Facebook GitHub Bot
parent 55981b5259
commit a610c821d3
14 changed files with 854 additions and 627 deletions

View File

@@ -297,6 +297,7 @@ export class DataSource<
setFilter(filter: undefined | ((value: T) => boolean)) {
if (this.filter !== filter) {
this.filter = filter;
// TODO: this needs debouncing!
this.rebuildOutput();
}
}