image

JavaScript reactive programming libraries

Notable libraries that help you adopt reactive programming paradigm in JavaScript effortlessly

Reactive programming is a programming paradigm oriented around data flows and the propagation of change.

Reactive Programming raises the level of abstraction of your code so you can focus on the interdependence of events that define the business logic, rather than having to constantly fiddle with a large amount of implementation details. Code in RP will likely be more concise.


RxJS

image

rxjs.dev

A reactive programming library for JavaScript, RxJS is a library for composing asynchronous and event-based programs by using observable sequences.

Bacon.js

image

baconjs.github.io

A small functional reactive programming lib for JavaScript. Turns your event spaghetti into clean and declarative feng shui bacon, by switching from imperative to functional. It's like replacing nested for-loops with functional programming concepts like map and filter.

Mobx

image

mobx.js.org

MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming.

Cycle.js

image

cycle.js.org

A functional and reactive JavaScript framework for predictable code. Cycle.js apps are made of pure functions, which means you know they only take inputs and generate predictable outputs, without performing any I/O effects.

Most.js

image

github.com

Most.js is a toolkit for reactive programming. It helps you compose asynchronous operations on streams of values and events, e.g. WebSocket messages, DOM events, etc.