[WP] 15.03.2023 part1 | μ-frontends

 

fig 1.1 webapp architecture examples

In todays blog post I’d like to mention microfrontends architecture. Microfrontends is application of basic OOP paradigm of encapsulation in frontend applications. It inctroduces multiple independent components with own markup, logic and styles, and designated to single task. It is approach opposite to monolith applications. Microfrontends may help to divide maintenance and development of application to diferent groups, delegate the responsibility and make deploys of each developed functionality independent.Finally each microfrontend is tech-agnosic and may be architected in different tech. The drawbacks of microfrontends solution is possibility of duplication of dependencies. According to chat GPT there are three possible consequences of duplication of dependencies. Firstly increased bundle size due to duplicated files. Secondly maintenance overhead during updates of multiple dependencies. Finally it may lead to inonsistencies if two different versions of library are used in two microfrontends(bugs are more likely to happen)

Komentarze

Popularne posty z tego bloga

[WP] 23.06.2023 | subjects

15.07.2024 | simplicity

[WP] 05.06.2023 | angular-intro