https://github.com/luistak/windowed-observable
Messaging lib using a pub/sub observable scoped by namespaces.
https://github.com/luistak/windowed-observable
communication hacktoberfest hacktoberfest2021 microfrontend microfrontends namespaces observable pubsub react topic windowed
Last synced: 5 months ago
JSON representation
Messaging lib using a pub/sub observable scoped by namespaces.
- Host: GitHub
- URL: https://github.com/luistak/windowed-observable
- Owner: luistak
- License: mit
- Created: 2019-11-14T17:12:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T10:09:04.000Z (about 2 years ago)
- Last Synced: 2024-05-01T16:03:20.249Z (12 months ago)
- Topics: communication, hacktoberfest, hacktoberfest2021, microfrontend, microfrontends, namespaces, observable, pubsub, react, topic, windowed
- Language: TypeScript
- Homepage:
- Size: 4.01 MB
- Stars: 158
- Watchers: 2
- Forks: 16
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
windowed-observable
The home for all windowed-observable projects




[](http://makeapullrequest.com)
## Introduction
### Problem
In a micro frontends setup, one of the main problems is [cross application communication](https://dev.to/luistak/cross-micro-frontends-communication-30m3) and this library aims to solve it by providing a simple and framework agnostic API with zero configuration
### Solution
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`](packages/core/README.md) with the following features:
### ✨ Features
- 📦 Scoped events by `namespaces`
- 🎣 Events history retrieval with `SubscriptionOptions`
- 🛡 100% Written in TypeScript with static types## Packages
- [**windowed-observable**](packages/core/README.md) 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**](packages/react/README.md) is a react abstraction over [`windowed-observable`](packages/core/README.md) exposing a helper that creates a scoped [`Context`](https://reactjs.org/docs/context.html) to handle events in a specific namespace