redux-saga-request
🏞 Redux Saga Request, request helper for Redux Saga.
Helper for running async functions and dispatching actions in redux saga.
Usage
yarn add redux-saga-request
// Create your request types.const FETCH_STUFF = // Have something async to run.const fetchStuff = // Run it with Redux Saga. { } // Do stuff easily in your reducers.const stuffReducer = { }
Advanced Usage
- You can pass arguments to your async function.
- You can attach metadata to all request actions to keep them associated.
{ }