If the "browser war" (really a DOM argument) hadn't delayed the advent of Web Components for 20+ years, I think the state of FE web would be a LOT better.
And now that we do have Web Components, ShadowDOM, and all the related power supported by all the major rendering engines…most of the FE web workforce's skills are split between 2 proprietary frameworks (do NOT at me with React or Angular is open source, that's part of their E/E/E strategy). Neither of which plays super nice with Web Components. By design (again, Embrace/Extend/Extinguish).
And now that we do have Web Components, ShadowDOM, and all the related power supported by all the major rendering engines…most of the FE web workforce's skills are split between 2 proprietary frameworks (do NOT at me with React or Angular is open source, that's part of their E/E/E strategy). Neither of which plays super nice with Web Components. By design (again, Embrace/Extend/Extinguish).