i am having issues scoping my VM to my composable ...
# compose-destinations
f
i am having issues scoping my VM to my composable lifecycle it automatically scopes it to my activity even though the the composable is popped out of the backstack it still active, does anyone has any idea tried using the decorator as said in the docs still preserves the VM
Copy code
entryDecorators = listOf(
    rememberSaveableStateHolderNavEntryDecorator(),
    rememberViewModelStoreNavEntryDecorator()
)
r
This seems related to nav3 library, not compose destinations 🙂