Skip to content

RxJS

The ReactiveX library for JavaScript.

This is a rewrite of Reactive-Extensions/RxJS and is intended to supersede it once this is ready. This version's purpose is to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface.

Simple

RxJS는 Reactive Extensions For JavaScript 라이브러리이다. 여기서 Reactive ExtensionsReactiveX 프로젝트에서 출발한 리액티브 프로그래밍을 지원하기위해 확장했다는 뜻이다. ReactiveXObserver patternb, Iterator pattern, 함수형 프로그래밍을 조합하여 제공한다. RxJS는 이벤트 스트림을 Observable 이라는 객체로 표현한 후 비동기 이벤트 기반의 프로그램 작성을 돕는다. 이벤트 처리를 위한 API로 다양한 연산자를 제공하는 함수형 프로그래밍 기법도 도입되어 있다.

Troubleshooting

Cannot find module 'rxjs-compat/Observable'

위와 같은 에러가 발생된다면 아래 모듈을 설치한다.

$ npm install --save rxjs-compat

See also

Favorite site

References


  1. Sculove.github.io_-_What_is_RxJS.pdf