Frontmatter
| id | 6131 |
| title | component.Base: model => stateProvider |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Nov 28, 2024, 8:59 AM |
| updatedAt | Nov 29, 2024, 7:34 PM |
| githubUrl | https://github.com/neomjs/neo/issues/6131 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 29, 2024, 7:34 PM |
Rationale: the name "View Model" can be misleading. In e.g. React it is called "Store", which is also confusing => we have
data.Storefor tabular Data. We havedata.Modelto define the field types of "Records" and need the separation that a VM is not related to records (although there are similarities by design).While the name
stateProvideris a bit longer, it hopefully makes it crystal clear what it is.