Update feed component to use flatlist for lazy-loading scrolling; update feed-view model to match loading needs
This commit is contained in:
parent
8131158c0e
commit
19c694bc60
3 changed files with 126 additions and 29 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue