2 ms·
Imho the web has done ferocious damage to modularization with its history of "global everything". css classes are global, element ids are global, the root Java
by Pxtl 3y ago
Imho the web has done ferocious damage to modularization with its history of "global everything". css classes are global, element ids are global, the root Javascript namespace is global. This made constructing modular web code aggressively difficult, and only now we've got technologies that make modular components in the web manageable. That's a lot of historical velocity to overcome.
All these nonsense approaches like "microfrontends" feel like they're still fighting that war.
We're finally at the point there reasonable isolated components are totally doable within the web platform. We just need to lay down the rules for good practice to keep the inherent globalness of the web from creeping back in and ruining everything.