Update feed component to use flatlist for lazy-loading scrolling; update feed-view model to match loading needs

This commit is contained in:
Paul Frazee 2022-07-20 11:07:39 -05:00
parent 8131158c0e
commit 19c694bc60
3 changed files with 126 additions and 29 deletions

View file

@ -9,7 +9,7 @@ export function Home(/*{navigation}: RootTabsScreenProps<'Home'>*/) {
const store = useStores()
useEffect(() => {
console.log('Fetching home feed')
store.homeFeed.fetch()
store.homeFeed.setup()
}, [store.homeFeed])
return (
<Shell>