43. Component Development & Integration
The Problem
A component should be easy to assemble from HTML, scripts, nested components, and explicit runtime operations.
The React Difficulty
React component development follows JSX and the React component API. Integration is powerful, but a developer works within React's rendering and component conventions.
React Approach
function Sales() {
return (
<section>
<h2>Sales</h2>
<Customer />
<button onClick={save}>Save</button>
</section>
);
}
MS Approach
ManySet provides a direct runtime-oriented approach for this recurring business-application task.
<h2>Sales</h2>
<ms-com id="customer" src="./Customer"></ms-com>
<button id="btnSave">Save</button>
<script type="module" src="./Sales.mjs"></script>
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.