Npm version Build Size License PRs Welcome Downloads
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-observableexposing a helper that creates a scopedContextto handle events in a specific namespace