event-strategy
v1.0.3
Published
A solution for cross Micro Frontend communication
Downloads
5
Maintainers
Readme
event-strategy
A solution for cross Micro Frontend communication
Problem
When building an UI application by using Micro Frontends, communication between each of the latter can be disrupted because their load order is nondeterministic (e.g., when one publisher Micro Frontend fires an event, a subscriber Micro Frontend might not even be present in the browser because its source code files are downloaded at that moment). This in turn leads to poor user experience and poor perceived performance because the application does not react as expected when the user interacts with it, and feature disruption in the common case where one feature needs collaboration of multiple Micro Frontends to be achieved.
To address these issue, a bespoke solution for communication between Micro Frontends is needed. This package is that solution.