JavaScript Reactive Programming Libraries

Updated Sep 09, 2021#javascript#libs#lists

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 - A reactive programming library for JavaScript, RxJS is a library for composing asynchronous and event-based programs by using observable sequences.
  • Bacon.js - 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 - A battle tested library that makes state management simple and scalable by transparently applying functional reactive programming.
  • Cycle.js - 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 - A toolkit for reactive programming. It helps you compose asynchronous operations on streams of values and events, e.g. WebSocket messages, DOM events, etc.