Need advice about which tool to choose?Ask the StackShare community!

redux-saga

375
316
+ 1
8
RxJS

2.1K
565
+ 1
18
Add tool
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of redux-saga
Pros of RxJS
  • 7
    Easy to test
  • 1
    Easy to learn
  • 4
    Easier async data chaining and combining
  • 3
    Steep learning curve, but offers predictable operations
  • 2
    Easier testing
  • 2
    Ability to build your own stream
  • 2
    Works great with any state management implementation
  • 1
    Simplifies state management
  • 1
    Great for push based architecture
  • 1
    Observable subjects
  • 1
    Documentation
  • 1
    Lot of build-in operators

Sign up to add or upvote prosMake informed product decisions

Cons of redux-saga
Cons of RxJS
    Be the first to leave a con
    • 3
      Steep learning curve

    Sign up to add or upvote consMake informed product decisions

    What is redux-saga?

    An alternative side effect model for Redux apps

    What is RxJS?

    RxJS is a library for reactive programming using Observables, to make it easier to compose asynchronous or callback-based code. This project is a rewrite of Reactive-Extensions/RxJS with better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use redux-saga?
    What companies use RxJS?
    See which teams inside your own company are using redux-saga or RxJS.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with redux-saga?
    What tools integrate with RxJS?
    What are some alternatives to redux-saga and RxJS?
    redux-thunk
    Redux Thunk middleware allows you to write action creators that return a function instead of an action. The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met. The inner function receives the store methods dispatch and getState as parameters.
    GraphQL
    GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
    MobX
    MobX is a battle tested library that makes state management simple and scalable by transparently applying functional reactive programming (TFRP). React and MobX together are a powerful combination. React renders the application state by providing mechanisms to translate it into a tree of renderable components. MobX provides the mechanism to store and update the application state that React then uses.
    Redux Observable
    It allows developers to dispatch a function that returns an observable, promise or iterable of action(s). Compose and cancel async actions to create side effects and more.
    Redux
    It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. t provides a great experience, such as live code editing combined with a time traveling debugger.
    See all alternatives