This strategy is commonly called component-based frontend architecture. It can make improvements to consistency, development performance, and long-expression maintainability. inspecting Sunwin from this perspective https://agency-social.com/story7157591/sunwin-and-the-necessity-of-frontend-element-architecture