You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been developing a new data synchronization library built on top of redux-saga and got it to the point where I'd like to share it with others who also think that "redux-saga is the way."
This library is a saga response to react-query, redux-toolkit/query, and similar cache synchronization libraries. Most of these libraries are reinventing the async flow control wheel of libraries with redux-saga with some niceties on top to make storing server state easier.
The goal of this library is to make it easier fetch data from an API but at a lower level it's a way to manage side-effects using an express-like middleware system using sagas.
I'd love to get feedback from the community on what you think about this library. In particular: would you use this library for your own projects? Why or why not?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all!
I've been developing a new data synchronization library built on top of redux-saga and got it to the point where I'd like to share it with others who also think that "redux-saga is the way."
https://github.com/neurosnap/saga-query
This library is a saga response to react-query, redux-toolkit/query, and similar cache synchronization libraries. Most of these libraries are reinventing the async flow control wheel of libraries with redux-saga with some niceties on top to make storing server state easier.
The goal of this library is to make it easier fetch data from an API but at a lower level it's a way to manage side-effects using an express-like middleware system using sagas.
You can see a production usage in this repo: https://github.com/neurosnap/listifi/blob/main/src/lists/effects.ts#L211-L479
I also wrote a blog article of my converting a traditional redux-saga application to using saga-query with favorable results. https://erock.io/2021/06/20/refactor-listifi-to-use-saga-query.html
I'd love to get feedback from the community on what you think about this library. In particular: would you use this library for your own projects? Why or why not?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions