LearnNewsExamplesServices
Frontmatter
id6131
titlecomponent.Base: model => stateProvider
stateClosed
labels
enhancement
assigneestobiu
createdAtNov 28, 2024, 8:59 AM
updatedAtNov 29, 2024, 7:34 PM
githubUrlhttps://github.com/neomjs/neo/issues/6131
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 29, 2024, 7:34 PM

component.Base: model => stateProvider

tobiu
tobiu commented on Nov 28, 2024, 8:59 AM

Rationale: the name "View Model" can be misleading. In e.g. React it is called "Store", which is also confusing => we have data.Store for tabular Data. We have data.Model to 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 stateProvider is a bit longer, it hopefully makes it crystal clear what it is.