ViewModel

Last modified: 06 March 2024

the ViewModel acts as a mediator between the UI layer and the domain layer, which contains the business logic. It focuses solely on managing the presentation logic, handling user interactions, and updating the UI accordingly.