redux-saga VS reselect

Compare redux-saga vs reselect and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
redux-saga reselect
42 46
22,506 18,996
0.0% 0.0%
4.0 9.6
14 days ago 7 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

redux-saga

Posts with mentions or reviews of redux-saga. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Main-Thread-Scheduling
    4 projects | news.ycombinator.com | 4 Jan 2024
  • Creating Own Chat GPT
    9 projects | dev.to | 15 Sep 2023
    For the backend, we chose Python, Django Rest Framework. On the frontend, React, Redux, Saga, Sass. Let’s start with the backend, which was managed by Yegor. He writes about the server part of the project himself.
  • Internals of Async / Await in JavaScript
    5 projects | news.ycombinator.com | 1 Sep 2023
    The whole article properly the best explanation of generators I have come across. This quote stuck out:

    > Generators are a special type of function that can return multiple pieces of data during its execution. Traditional functions can return multiple data by using structures like Arrays and Objects, but Generators return data whenever the caller asks for it, and they pause execution until they are asked to continue to generate and return more data.

    Applications of generators? I have only used Redux-Saga[1]. Can't even think of other libraries that use them, but would be interested in learning.

    [1]: https://redux-saga.js.org/

  • Generators in the wild
    3 projects | dev.to | 6 Aug 2023
    redux-saga. The most popular effects library in js
  • I don't get why I should use Redux
    6 projects | /r/webdev | 9 Mar 2023
    Redux can be extended with a lot of other packages. For example with a side effect manager, you can separate side effects from your business logic, help with error handling and in the same process make testing of side effects a lot easier.
  • What Is The Best Name for This Synchronous Function?
    4 projects | /r/learnjavascript | 3 Feb 2023
    Consumer vs. Producer: Check out Redux Saga
  • Front-end Guide
    54 projects | dev.to | 23 Nov 2022
    Your app will likely have to deal with async calls like making remote API requests. redux-thunk and redux-saga were created to solve those problems. They may take some time to understand as they require understanding of functional programming and generators. Our advice is to deal with it only when you need it.
  • Why Would Anyone Need JavaScript Generator Functions?
    19 projects | news.ycombinator.com | 7 Nov 2022
    Hey thanks for the thoughtful response.

    I agree with everything you mentioned here. I'd love to continue to chat with you about how to make testing sagas better.

    If you'd like, it would be great if we could move this convo to https://github.com/redux-saga/redux-saga/discussions/2337

  • What is the best plan to catch data from multiple api calls and display some data
    2 projects | /r/reactjs | 16 Oct 2022
    If there are dependent API calls, you can probably look at redux-saga. It’s one of the best libraries out there to manage the data.
  • [AskJS] Where will I need to write generator functions?
    4 projects | /r/javascript | 17 Sep 2022
    redux-saga makes use of them in really nice way. https://redux-saga.js.org/ That’s where I’ve used them the most.

reselect

Posts with mentions or reviews of reselect. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.
  • Redux Toolkit 2.0: new features, faster perf, smaller bundle sizes (plus major versions for all Redux family packages!)
    7 projects | /r/reactjs | 5 Dec 2023
  • Redux Toolkit 2.0: new features, faster perf, smaller bundle sizes, and more
    6 projects | news.ycombinator.com | 4 Dec 2023
    - Throws better errors in an RSC environment

    - https://github.com/reduxjs/react-redux/releases/tag/v9.0.0

    ## Reselect 5.0:

    - Switches to a new `weakMapMemoize` memoizer as default

    - Renames `defaultMemoize` to `lruMemoize`

    - Allows passing memoizer options direct to `createSelector`

    - Many TS improvements

    - https://github.com/reduxjs/reselect/releases/tag/v5.0.1

    ## Redux Thunk 3.0:

    - Drops the default export and switches to named exports ( `{thunk, withExtraArgument}` )

    - https://github.com/reduxjs/redux-thunk/releases/tag/v3.1.0

    This has been a _huge_ year-long development effort!

    We're thrilled to get these improvements out. The tooling and bundle improvements will help all users, and we think the features and TS changes will improve the Redux dev experience significantly.

    Thank you SO MUCH to everyone who has contributed or helped test out the work!

    Please file bug reports for the inevitable issues that pop up post-release!

    but now I'm going off on a conf trip and going to take a very well-earned break from Redux work for December :)

  • 45 NPM Packages to Solve 16 React Problems
    22 projects | dev.to | 14 Nov 2023
    reselect -> For making faster queries to store.
  • Top 7 Libraries for Blazingly Fast ReactJS Applications
    6 projects | dev.to | 18 Aug 2023
    Reselect solves this problem by memorizing the values and only passing what’s necessary.
  • What's the benefit of Redux?
    1 project | /r/react | 20 Jul 2023
    In addition, diagnosing bugs in how data flowed through the application (where data originated from, how it was changed, etc.) was always super painful because I had to backtrack through selectors referencing selectors referencing selectors. And updating high-level selectors risked breaking something else down the line (even with 100% business logic coverage this was a problem). (This may be chalked up to improper usage of reselect, but I'm curious to hear your thoughts. Is this a common problem?)
  • 20 Essential Parts Of Any Large Scale React App
    15 projects | dev.to | 2 Jun 2023
    reselect : Selector library to optimize your store access
  • Revolutionize Your React App with Redux: A Beginner's Guide to Simplifying State Management(PART 2)
    3 projects | dev.to | 12 Apr 2023
    Reselect documentation:
  • What is memoization in React
    1 project | dev.to | 8 Mar 2023
    Applying memoization to TypeScript and ReactJS is relatively straightforward. There are several libraries available that provide memoization functionality, such as memoize function from Lodash, reselect or hooks from ReactJS. These libraries can be installed using NPM or Yarn and used in your TypeScript and ReactJS projects.
  • ThreeJS project wrapped in Redux for State Management
    1 project | /r/reduxjs | 12 Feb 2023
    Generally, all you would need is to have your redux store provider at the very top level of your application (You could also only wrap the components that you want to have this data available to). Then, any component rendered inside that provider can get access to the redux store. The suggested approach ever since hooks were released is to use `useSelector` and `useDispatch` within your component to get the state data that you need. Using a selector library like Reselect is prevalent and keeps your data selection tidy & handles memoization for you.
  • 20 Best Libraries and Tools for React Developers
    11 projects | dev.to | 25 Jan 2023
    Reselect is a library for creating memoized “selector” functions. Commonly used with Redux, to slice state and provide just the necessary subtree to a React component.

What are some alternatives?

When comparing redux-saga and reselect you can also consider the following projects:

redux-toolkit - The official, opinionated, batteries-included toolset for efficient Redux development

recompose - A React utility belt for function components and higher-order components.

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

Immer - Create the next immutable state by mutating the current one

rtk-query - Data fetching and caching addon for Redux Toolkit

use-context-selector - React useContextSelector hook in userland

axios - Promise based HTTP client for the browser and node.js

SWR - React Hooks for Data Fetching

react-redux - Official React bindings for Redux

effector-react - Business logic with ease ☄️