Virtualize Messages List - only render what's visible

This commit is contained in:
Scott Nonnenberg 2019-05-31 15:42:01 -07:00
parent a976cfe6b6
commit 5ebd8bc690
73 changed files with 4717 additions and 2745 deletions

View file

@ -9,8 +9,8 @@ import { SmartTimeline } from '../smart/Timeline';
// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/31363
const FilteredTimeline = SmartTimeline as any;
export const createTimeline = (store: Store) => (
export const createTimeline = (store: Store, props: Object) => (
<Provider store={store}>
<FilteredTimeline />
<FilteredTimeline {...props} />
</Provider>
);