Commit f335706c authored by Ayres, Andrew's avatar Ayres, Andrew
Browse files

Merge branch 'mvvm_feedback' into 'main'

Fix formatting

See merge request !15
parents ffad1cc9 bc14df64
Loading
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ MVVM is an architectural design pattern specifically designed for applications w
![](fig/mvvm.png)

The MVVM pattern consists of three core components:

*   **Model:** The Model represents the *data* and the *business logic* of the application. It\'s responsible for:
    *   Data storage (e.g., reading from and writing to a database, a file, or an API).
    *   Data validation (ensuring the data is in a valid state).
@@ -63,7 +64,7 @@ The Model is agnostic to the UI. It doesn\'t know anything about how the data wi

The ViewModel knows about the View and the data that the View needs, but it doesn\'t know about the specific UI elements that are used to display the data. It also orchestrates the interaction between the View and the Model.

    *The ViewModel is where we\'ll use `nova-mvvm` to create bindings between the ViewModel and the View, enabling the reactive updates.*
The ViewModel is where we\'ll use `nova-mvvm` to create bindings between the ViewModel and the View, enabling the reactive updates.

## Why Use MVVM? (Benefits)