This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,23 @@
-- for now AppState will be singleton so we can more easily migrate to Rodux
-- but if we also migrate to Roact, this will need to change
local ShellModules = script.Parent
local Modules = ShellModules.Parent
local Common = Modules.Common
local AppShellReducer = require(ShellModules.Reducers.AppShellReducer)
local Store = require(Common.Rodux).Store
local AppState = {}
function AppState:Init()
self.store = Store.new(AppShellReducer)
end
function AppState:Destruct()
self.store:destruct()
end
AppState:Init()
return AppState