ursus
03/29/2026, 12:15 PMNav3 the mantra is “you own the backstack”. What does that mean precisely? Is it only saying I can mutate it arbitrarily, or does it talk about the lifetime as well?
In other words, can I keep the instance anywhere I please (i.e keeping it inside a static singleton) or does it always effectively have to be scoped inside the setContent { … }?Jack Boswell
03/29/2026, 10:21 PMursus
03/29/2026, 10:32 PMJack Boswell
03/29/2026, 10:57 PMursus
03/29/2026, 10:58 PMursus
03/30/2026, 11:48 PMNavDisplay(backstack = backstack), that gets subscribed for changespiyush
04/04/2026, 5:33 PMval backStack = remember { mutableStateListOf<Any>() }
Or what I like is a wrapper eg. Navigator holding it and use that instead.