Implement working screen-state management and remove extraneous loads

This commit is contained in:
Paul Frazee
2022-09-01 12:00:08 -05:00
parent 36e3697fd6
commit 558f8010eb
14 changed files with 118 additions and 245 deletions
-4
View File
@@ -9,15 +9,11 @@ import {isObj, hasProp} from '../lib/type-guards'
import {SessionModel} from './session'
import {NavigationModel} from './navigation'
import {MeModel} from './me'
import {FeedViewModel} from './feed-view'
import {NotificationsViewModel} from './notifications-view'
export class RootStoreModel {
session = new SessionModel()
nav = new NavigationModel()
me = new MeModel(this)
homeFeed = new FeedViewModel(this, {})
notesFeed = new NotificationsViewModel(this, {})
constructor(public api: AdxClient) {
makeAutoObservable(this, {