28. Global Loading Animation
The Problem
Repeated API calls and component loads need consistent visual feedback without every screen implementing its own spinner.
The React Difficulty
React applications commonly create a loading component and coordinate it with application state or data-fetching libraries.
React Approach
function Loading({ visible }) {
return visible ? <div className="spinner">Loading...</div> : null;
}
return <Loading visible={isLoading} />;
MS Approach
ManySet provides a direct runtime-oriented approach for this recurring business-application task.
// No per-component loading code is required.
// GlobalConfig.json controls the animation:
// Enabled, Type, AnimatedImage, Delay, LockUI, Blur, etc.
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.