hawklike
05/25/2023, 5:49 PMrememberSaveable
instead? For example, is it bad practice to remember the index of the selected tab bar inside a composable function instead of a view model? And if so, are there any boundaries?Francesc
05/25/2023, 6:07 PMrememberSaveable
or a state holder for somewhat more complex logic is the right approach.Alex Vanyo
05/25/2023, 6:23 PMrememberSaveable
if you’re also using `ViewModel`s. It isn’t a one-or-the-other issue.hawklike
05/25/2023, 8:50 PM