A sync’d state is essential to preserve a good user experience across decoupled frontends. You can refer to the pros and cons page, to understand why state is very important.
Event-driven patterns and middleware can help propagate state across decoupled components, even when independently deployed, or deployed hrizontally at scale.
Pub/Sub
A publication and subscription bus is a a good strategy to manage state, and it can be implemented at an infrastructure level, with serverless functions, or client-side, leveraging the browser’s addEventListener API and windows.postMessage(), to communicate events across frontend components.
This website uses a technical cookie to save your cookie preferences in your browser. Additionally, it uses Google Analytics to analyze the traffic. That helps me decide what content is the most helpful and where to invest my time to continue to develop and evolve it.
If you continue to use this website, you consent to the use of cookies. Terms of Service and Privacy