Frontmatter
| id | 5480 |
| title | component.Base: getController(), getModel() => store the closet match as a reference |
| state | Closed |
| labels | enhancementstale |
| assignees | [] |
| createdAt | Jun 24, 2024, 12:04 AM |
| updatedAt | Oct 6, 2024, 4:38 AM |
| githubUrl | https://github.com/neomjs/neo/issues/5480 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 6, 2024, 4:38 AM |
right now, the amount of
getConfigInstanceByNtype()calls got huge. it would help to store the closest first found controller and model instance inside a symbol to reduce the amount of parent searches.