Hi, I'm trying to share a viewmodel between two composables (from A to B). After A made some changes...
l
Hi, I'm trying to share a viewmodel between two composables (from A to B). After A made some changes, when navigating to B, retrieving the viewmodel using
Copy code
viewModel(
    viewModelStoreOwner = viewModelStoreOwner, ...
)
correctly fetches the viewmodel, but the changes made on A now are lost. Am I missing something doing this?