Frontmatter
| id | 1745 |
| title | model.Component: support binding stores to any config name |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Apr 9, 2021, 10:12 PM |
| updatedAt | Apr 9, 2021, 11:32 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1745 |
| author | tobiu |
| commentsCount | 3 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 9, 2021, 11:32 PM |




the first version is too limiting, since it only allows to map a view model store to a config called store.
it should be possible to add a store to any config name.
to make this happen, we need a unique identifier to see if a value is a store.
bind: { store: 'stores.myStore' }