In a micro frontends setup, one of the main problems is cross application communication and this library aims to solve it by providing a simple and framework agnostic API with zero configuration
Exposing an observable
that behaves like scoped a pub/sub topic passing events per namespaces.
This Observable
is exported by the core package windowed-observable
with the following features:
- 📦 Scoped events by
namespaces
- 🎣 Events history retrieval with
SubscriptionOptions
- 🛡 100% Written in TypeScript with static types
-
windowed-observable is a library for messaging using Observables, making it easier to communicate multiple apps or parts of an app using the window. It exposes an Observable that behaves like a scoped pub/sub topic using namespaces.
-
react-windowed-observable is a react abstraction over
windowed-observable
exposing a helper that creates a scopedContext
to handle events in a specific namespace