34. Build-Time Dependency Analysis
The Problem
Deep component trees can cause repeated runtime discovery unless dependencies are known before execution.
The Angular Difficulty
Angular CLI analyzes normal dependencies, but business-level runtime component injection paths may need additional architectural tooling.
Angular Approach
// Angular CLI/build tooling analyzes TypeScript and template dependencies.
// Dynamic runtime component relationships may still be application-specific.
const ref = viewContainer.createComponent(SalesComponent);
MS Approach
ManySet provides a direct runtime-oriented approach for this recurring business-application task.
// CallTree.json is generated by the MS builder from component inject calls
// under onLoad paths. The runtime reads it before ms.inject/ms.open.
// It is a hidden performance booster, not a developer API.
Why this way is useful in business applications :
The comparison is intended to show where ManySet supplies a business-application abstraction around a recurring task, while keeping HTML and JavaScript visible and directly usable.
Key Point :
ManySet reduces the amount of framework-specific composition required for this particular task, without requiring the React/Angular mechanism to be represented as inherently wrong or incapable.