Store preferences and scrolling, refactor to useReducer
Reviewed By: priteshrnandgaonkar Differential Revision: D26848266 fbshipit-source-id: 738d52556b9fb65ec5b5de7c727467227167b9b9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
55981b5259
commit
a610c821d3
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user