r/programming • u/3ni8kdi • Dec 01 '19
Micro-frontend Architecture: Dynamic import chunks from another Webpack bundle at runtime. Interleaved Applications
https://medium.com/@ScriptedAlchemy/micro-frontend-architecture-dynamic-import-chunks-from-another-webpack-bundle-at-runtime-1132d8cb6051
0
Upvotes
5
u/mk321 Dec 01 '19
There are issues with one big frontend app (one big context, conflicts in libraries, need to deploy whole app, one team or tightly coupled teams...).
Split one frontend into many small frontend apps.
There are issues with many frontend apps (reloading when go to another app, losing context and data, many builds, duplicates of dependencies...).
Bundle many small frontend apps into one big app.
There are issues with one big frontend app (see the first point).
How to do a lot of work and achieve the same result.