Files
gitjs-privet-mir/components/root/root.swift
T
2026-10-16 13:49:07 +03:00

16 lines
356 B
Swift

class RootComponent {
let ctrl = DialectController(RootContext())
static private(set) weak var singleton: RootComponent?
init() {
Self.singleton = self
rootRegisterEffects(ctrl)
rootRegisterShoulds(ctrl)
otherSetupConsoleLogging(ctrl, "Root")
}
func setup() {
rootSet(F.didSetup, true)
}
}