Frontmatter
| id | 1751 |
| title | model.Component: setData() & setDataAtSameLevel() code redundancy |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Apr 10, 2021, 10:40 PM |
| updatedAt | Apr 10, 2021, 10:40 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1751 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 10, 2021, 10:40 PM |
the methods are very similar.
I will add a new method called
internalSetData()which both methods can call with a different flag.