Hello i want to update page(open by navigation) on every click on BottomBar, but i don't want to reload whole page, only data in it. what is best way to do it. For now i find a way to create some mutablestate, update it and check it on Navigation destination
) or by storing it in a ViewModel, it will already be there when you navigate to that destination with the code you have written. That would also means that it would be cleaned up correctly when you pop that destination off the back stack (which would not be the case for a hoisted