Frontmatter
| id | 1782 |
| title | controller.Application: create the mainView after the ctor is done |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Apr 15, 2021, 11:24 AM |
| updatedAt | Apr 15, 2021, 11:29 AM |
| githubUrl | https://github.com/neomjs/neo/issues/1782 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 15, 2021, 11:29 AM |
this part was actually nicer in the first version.
we can not use
thisinside the ctor before thesuper()call, but we can delay the mainView assignment easily.this change guarantees that the main view can access
Neo.appsat any point