LearnNewsExamplesServices
Frontmatter
id1739
titlemodel.Component: stores config
stateClosed
labels
enhancement
assigneestobiu
createdAtApr 9, 2021, 7:42 PM
updatedAtApr 9, 2021, 10:09 PM
githubUrlhttps://github.com/neomjs/neo/issues/1739
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 9, 2021, 10:09 PM

model.Component: stores config

Closed v8.1.0 enhancement
tobiu
tobiu commented on Apr 9, 2021, 7:42 PM

view models are supposed to store data.

data.Store contains data, so it should be possible to create store instances inside a vm.

type: object.

each key is a store instance name to which we can bind to.

tobiu added the enhancement label on Apr 9, 2021, 7:42 PM
tobiu assigned to @tobiu on Apr 9, 2021, 7:42 PM
tobiu referenced in commit cd9edf6 - "model.Component: stores config #1739" on Apr 9, 2021, 7:43 PM
tobiu referenced in commit 52e3eaa - "#1739 afterSetStores() => no logic yet" on Apr 9, 2021, 7:45 PM
tobiu referenced in commit f0cd536 - "#1739 model.Component: beforeSetStores()" on Apr 9, 2021, 8:47 PM
tobiu referenced in commit dc3da87 - "#1739 adjusted parseBindings() to to resolve a store config. adjusted resolveBindings() to ignore this one." on Apr 9, 2021, 10:04 PM
tobiu
tobiu Apr 9, 2021, 10:09 PM

The first PoC is working now. I will create new follow up tickets to further improve it.

tobiu closed this issue on Apr 9, 2021, 10:09 PM