Frontmatter
| id | 1738 |
| title | model.Component: resolveFormatter() => keep the generated function as minimal as possible |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Apr 9, 2021, 3:08 PM |
| updatedAt | Apr 9, 2021, 3:09 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1738 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 9, 2021, 3:09 PM |
@bhaustein mentioned that it would be nicer to move the
if (!data) { data = this.getHierarchyData(); }part out of the generated fn. Since we are only calling it inside
resolveFormatter()I agree.