Hacker News new | ask | show | jobs
by pastelsky 2137 days ago
Micro frontends seems like a technology that's similar to Electron in a way. It gets criticised for its performance characteristics but there one can't ignore the problems it tries to solve for medium-large teams — there is a real need for it.

Once webpack 5 adds support for this, I see a lot more folks using it.

Like electron, the performance characteristics would continue to improve in the long term, but may never be as efficient as hand rolling bundles.

1 comments

Got a link to the "webpack 5 and micro-fe" stuff? Thanks!
Webpack 5 adds module federation, which to some extend solves our problems with “too many people /teams depend on each other”. Doesn’t solve component communication, but provides support for shared libs management.

Super popular currently.

Best is to start here I think: https://medium.com/@ScriptedAlchemy/webpack-5-module-federat...

And the “official” doc: https://webpack.js.org/concepts/module-federation/

Thanks! I'm neck-deep in a webpack4 project right now. Any idea when 5 will exit beta?
Pretty sure they're referring to isolated modules, this is a great video about it:

https://www.youtube.com/watch?v=D3XYAx30CNc

looks amazing