DEV Community

Discussion on: Microfrontends based on React

Collapse
 
mati365 profile image
Mateusz Bagiński • Edited

Microfrontends architecture is the stupidest idea nowadays. I think it was invented by API developers who really know nothing about frontend optimizations. In real world most of the modules will be not independent - over the time number of dependencies between modules will increase (with internal deps such as NPM packages). That architecture leads to creating sluggish and huge unmaintable apps. Besides it - what about SSR and page loading time optimization?

Collapse
 
florianrappl profile image
Florian Rappl

Its a valid opinion and the architecture is certainly not for everyone. Besides if you would have read the article (and presumably not stop the the title) you would have seen that we share all the major building blocks (for exactly the reason as you outlined).

For the clients where we rolled out the solution everyone seems to be super happy about it. I've also never seen two modules that collide with each other.

SSR is possible due to React, but page loading time can (as usual) be an issue. Here it really depends what you are after; if you create a tool (this is the target audience) the initial loading time is not as crucial as for creating a fast content page.

It's not all black and white.