Overview of RXJS

Yuvaraj S
Nov 16, 2022

--

RxJS is a library for composing asynchronous and event-based programs by using observable sequences. It provides one core type “observable”.

Essential concepts in RXJS:

  • Observable: It is an idea of callable value or collection of future events.
  • Observer: It is a collection of callbacks that is happening from Observable. The observer knows how to listen to it.
  • Subscription: It is used to execute the Observable and cancel the observable to avoid the memory leak.
  • Operators: It’s predefined functions that use to capture observable values and transform the value (ie: filtering, concat etc).
  • Subject: It’s a special type of observable used for multicasting the observable. Observables are Unicast.
  • Scheduler: It controls when a subscription starts and when notifications are delivered.

--

--

Yuvaraj S

Frontend Developer with 6years of experience, I write blogs that are [Easy words + Ground Level Code + Live Working Link]. Angular | React | Javascript | CSS