redux-saga logo

redux-saga

An alternative side effect model for Redux apps
222
132
+ 1
4

What is redux-saga?

An alternative side effect model for Redux apps
redux-saga is a tool in the State Management Library category of a tech stack.
redux-saga is an open source tool with 19.5K GitHub stars and 1.7K GitHub forks. Here鈥檚 a link to redux-saga's open source repository on GitHub

Who uses redux-saga?

Companies
73 companies reportedly use redux-saga in their tech stacks, including Pana (formerly Native), Kapten Engineering, and Serverless.

Developers
144 developers on StackShare have stated that they use redux-saga.

redux-saga Integrations

Why developers like redux-saga?

Here鈥檚 a list of reasons why companies and developers use redux-saga
Top Reasons
redux-saga Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose redux-saga in their tech stack.

redux-saga
redux-saga
Redux
Redux
React
React
redux-thunk
redux-thunk
Jest
Jest

Choosing redux-saga for my async Redux.js middleware, for a React application, instead of the typical redux-thunk .

Redux-saga is much easier to test than Redux-thunk - it requires no module mocking at all. Converting from redux-thunk to redux-saga is easy enough, as you are only refactoring the action creators - not your redux store or your react components. I've linked a github repo that shows the same solution with both, including Jest tests.

See more
React
React
Redux
Redux
AngularJS
AngularJS
React Native
React Native
redux-saga
redux-saga
Apache Cordova
Apache Cordova
#JavascriptMvcFrameworks

We had contemplated a long time which #JavascriptMvcFrameworks to use, React and React Native vs AngularJS and Apache Cordova in both web and mobile. Eventually we chose react over angular since it was quicker to learn, less code for simple apps and quicker integration of third party javascript modules. for the full MVC we added Redux.js for state management and redux-saga for async calls and logic. since we also have mobile app along with the web, we can shere logic and model between web and mobile.

See more
Glenn 'devalias' Grant
Glenn 'devalias' Grant
Hack. Dev. Transcend. | 5 upvotes 27K views
React
React
Redux
Redux
redux-saga
redux-saga
Bootstrap
Bootstrap
Go
Go
AWS Lambda
AWS Lambda
AWS CloudFormation
AWS CloudFormation
Amazon DynamoDB
Amazon DynamoDB
WebStorm
WebStorm
Git
Git
GitLab
GitLab
#Serverless
#JetBrains

Working on a project recently, wanted an easy modern frontend to work with, decoupled from our backend. To get things going quickly, decided to go with React, Redux.js, redux-saga, Bootstrap.

On the backend side, Go is a personal favourite, and wanted to minimize server overheads so went with a #serverless architecture leveraging AWS Lambda, AWS CloudFormation, Amazon DynamoDB, etc.

For IDE/tooling I tend to stick to the #JetBrains tools: WebStorm / Goland.

Obviously using Git, with GitLab private repo's for managing code/issues/etc.

See more
Cyril Duchon-Doris
Cyril Duchon-Doris
CTO at My Job Glasses | 4 upvotes 173.6K views
atMy Job GlassesMy Job Glasses
Sidekiq
Sidekiq
Rails
Rails
React
React
Redux
Redux
redux-saga
redux-saga
Rollbar
Rollbar

After splitting our monolith into a Rails API + a React Redux.js frontend app, it became a necessity to monitor frontend errors. Our frontend application is not your typical website, and features a lot of interesting SPA mechanics that need to be followed closely (many async flows, redux-saga , etc.) in addition to regular browser incompatibility issues. Rollbar kicks in so that we can monitor every bug that happens on our frontend, and aggregate this with almost 0 work. The number of occurrences and affected browsers on each occurence helps us understand the priority and severity of bugs even when our users don't tell us about them, so we can decide whether we need to fix this bug that was encountered by 1k users in less than a few days days VERSUS telling this SINGLE user to switch browsers because he's using a very outdated version that no one else uses. Now we also use Rollbar with Rails, Sidekiq and even AWS Lambda errors since the interface is quite convenient.

See more
Priit Kaasik
Priit Kaasik
Engineering Lead at Katana MRP | 4 upvotes 3.9K views
atKatana MRPKatana MRP
React
React
Redux
Redux
redux-saga
redux-saga

Back at early 2017 the confusion and controversy around the future of AngularJS was at full swing. Also, the Angular 2 looked quite restrictive (or prescriptive even) when we did the assessment what to choose for Katana. React came out on top because it's community looked healthier, future more solid. And as you all know, one decision leads to many others: Redux, redux-saga , Axios

See more
React
React
redux-saga
redux-saga
redux-thunk
redux-thunk
Redux
Redux
#Redux-saga

For async requests in React I use redux-saga , to my opinion it is the most organized framework for async requests, it is clearer then redux-thunk and conforms to the style of Redux.js which results in a more structured project, especially in large web applications. #redux-saga

See more

redux-saga Alternatives & Comparisons

What are some alternatives to redux-saga?
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.
redux-saga
An alternative side effect model for Redux apps
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.
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.
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

redux-saga's Followers
132 developers follow redux-saga to keep up with related blogs and decisions.
Diego Oliveira
aikoven
Slava Minchonok
zlatan pham
Davi Santos
Naveen Sampath
simskij
Giovanny Piovesan
James Simm
Luiz Rocha