Frontmatter
| id | 8108 |
| title | Refactor Legit App to use a dedicated Service |
| state | Closed |
| labels | enhancementairefactoring |
| assignees | tobiu |
| createdAt | Dec 13, 2025, 4:31 PM |
| updatedAt | Dec 13, 2025, 5:00 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8108 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 13, 2025, 5:00 PM |
To improve architecture and error handling, we will introduce
Legit.service.Legitas a singleton.New File:
apps/legit/service/Legit.mjsResponsibilities:
@legit-sdk/core,memfs).loadTree,loadTreeDelta).Updates:
apps/legit/view/ViewportController.mjs: Delegate logic to the new service.