Skip to content

luistak/windowed-observable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c68d348 · Jun 12, 2022
Jun 12, 2022
Oct 3, 2021
Nov 21, 2020
Oct 11, 2021
Oct 11, 2021
Aug 19, 2020
Oct 12, 2020
Oct 11, 2020
Oct 13, 2020
Oct 11, 2020
Oct 11, 2020
Oct 3, 2021
Oct 3, 2021
Oct 11, 2021
Oct 3, 2021
Oct 11, 2021
Oct 3, 2021
Oct 11, 2021

Repository files navigation

windowed-observable

Windowed observable

The home for all windowed-observable projects


Npm version Build Size License PRs Welcome Downloads

Introduction

Problem

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

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 with the following features:

✨ Features

  • 📦 Scoped events by namespaces
  • 🎣 Events history retrieval with SubscriptionOptions
  • 🛡 100% Written in TypeScript with static types

Packages

  • 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 scoped Context to handle events in a specific namespace