Johan Paul on Nostr: I don't get some of the API design choices that Google made with Compose. Why is ...
I don't get some of the API design choices that Google made with Compose.
Why is snapshotFlow needed? Isn't this what the view model is for? To store and manipulate the state of the UI. Instead of putting domain logic to the UI.
I don't get it.
https://developer.android.com/develop/ui/compose/side-effects#snapshotFlow
Why is snapshotFlow needed? Isn't this what the view model is for? To store and manipulate the state of the UI. Instead of putting domain logic to the UI.
I don't get it.
https://developer.android.com/develop/ui/compose/side-effects#snapshotFlow