DEV Community


Posted on

Any developer out there can tell us how you use RxJS?

For example, do you use it all by itself? Or use it with Angular?

Is it a standalone framework that has similar functionality as React or Vue, or is it supposed to be used together with another framework?

Top comments (2)

nicolasini profile image
Nico S___

RxJS is a library that implements concepts of Reactive Programming. It is intended to be used alongside other libraries (React, Redux, Vue, etc) or frameworks (Angular, etc) to solve a specific problem (side effects, data fetching, etc)
One common scenario is to use it alongside Redux Epics to handle side effects of fetching or updating data.

chautelly profile image

I'm using stateful observeables (streams) provided using RxJS' BehaviourSubject class to create streams of data in different components in my ReactJS app and share that state with other areas of the application.