Michał Ziobro
Feb 11, 2023

--

Why? MVVM works grate

View is view

ViewModel is ObservebalObject (you can name Model it doesn't change anything)

You still have Services, Repositories or even Daos depending on app complexity.

If app is simple you van just use ViewModel and View and name ViewModel Model (just naming convention)

If your app is simplet then that you can just use @State. But it doesn't change anything.

Ok there are this Compoosable Architectures in Redux-like style but it just matter of choice. If you like it you can. If some team uses MVVM from years it better to stick to known tested solutions

--

--

Responses (1)