Render the Settings page and the Library via view models #227

Merged
savanni merged 4 commits from kifu/settings-view-model into main 2024-03-22 03:36:13 +00:00

View models are now back in the core with dispatching code to help the UI communicate with the core.

This is an updated formulation, where the view model focuses on managing data in a way that makes sense for the UI. The UI now requests data and the view model can format what it receives from the model. It can also tell the model how to update. All of this helps to separate the UI from the view model logic so that I can go back to building a PWA for Android.

The big difference is that view models communicate data, not markup, to the UI.

View models are now back in the core with dispatching code to help the UI communicate with the core. This is an updated formulation, where the view model focuses on managing data in a way that makes sense for the UI. The UI now requests data and the view model can format what it receives from the model. It can also tell the model how to update. All of this helps to separate the UI from the view model logic so that I can go back to building a PWA for Android. The big difference is that view models communicate data, not markup, to the UI.
savanni added 4 commits 2024-03-22 03:35:53 +00:00
savanni merged commit 49571b0f82 into main 2024-03-22 03:36:13 +00:00
savanni deleted branch kifu/settings-view-model 2024-03-22 03:36:13 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: savanni/monorepo#227
There is no content yet.