# affirmation-saga

> A simple redux-saga structure demo

Latest version **0.0.5** (published 2022-07-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install affirmation-saga
pnpm add affirmation-saga
yarn add affirmation-saga
bun add affirmation-saga
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2022-07-19 |
| First published | 2022-07-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 274.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | websOptimazation |
| Maintainers | parthshiroya |
| Keywords | react-native, saga, redux-saga, login, flow, professional, structure |

## Links

- npm: https://www.npmjs.com/package/affirmation-saga
- Repository: "publishConfig": {
- npm.io page: https://npm.io/package/affirmation-saga

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 0.0.5 (latest) — 2022-07-19
- 0.0.4 — 2022-07-19
- 0.0.3 — 2022-07-19
- 0.0.2 — 2022-07-19
- 0.0.1 — 2022-07-19

## README

# what is this?

learn redux-saga structure with login flow

#Installation

`npm i affirmation-saga --save`

Then...

import {AffirmSaga} from 'affirmation-saga';

```

function callApis(props) {

try {

const {data, url, post} = props.payload;

     const usersData = yield call(implementPromiseAction, props, function* () {


       const param = {
         data: {...data},
         url: url,
       };

       const api_config = {axios related parameter,...param};

       return yield call(() => axios(api_config));
     });

     return usersData;

} catch (e) {...}
}
```

## Options

get two more option in to show how to use react-saga with redux-persist

---
_Source: https://npm.io/package/affirmation-saga · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
