Basic concept

melody-streams is based on a simple, yet rather complex, metaphor: A component takes multiple input streams and combines them into a single stream of state.

These input streams can be properties which are passed into the component from its parent, or it could be a stream of global event changes coming from, for example, a Redux store. They could also include user events such as click or keyboard events.

We wanted to avoid that you have to learn a new, foreign tool, therefore we decided to build our melody-streams API directly on top of Rx.js, a well known and widely spread library for handling observables in JavaScript.

Last updated

Was this helpful?