# redux-dynamic-modules-saga

> Saga Extension for redux-dynamic-modules

Latest version **5.2.3** (published 2020-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install redux-dynamic-modules-saga
pnpm add redux-dynamic-modules-saga
yarn add redux-dynamic-modules-saga
bun add redux-dynamic-modules-saga
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.2.3 |
| Published | 2020-03-24 |
| First published | 2018-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 46.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1065 |
| Author | Navneet Gupta |
| Maintainers | abettadapur_msft, microsoft, navneetg-msft |
| Keywords | react, redux, module, dynamic, load |

## Links

- npm: https://www.npmjs.com/package/redux-dynamic-modules-saga
- Repository: https://github.com/Microsoft/redux-dynamic-modules
- Homepage: https://github.com/Microsoft/redux-dynamic-modules#readme
- Issues: https://github.com/Microsoft/redux-dynamic-modules/issues
- npm.io page: https://npm.io/package/redux-dynamic-modules-saga

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 5.2.3 (latest) — 2020-03-24
- 3.4.4 (stable) — 2019-02-25
- 5.2.0 — 2019-11-09
- 5.1.0 — 2019-10-20
- 5.0.2 — 2019-08-14
- 5.0.1 — 2019-07-03
- 5.0.0-alpha.0 — 2019-06-20
- 4.0.1 — 2019-06-14
- 4.0.0 — 2019-05-22
- 4.0.0-alpha.1 — 2019-05-09
- 4.0.0-alpha.0 — 2019-05-09
- 3.5.2 — 2019-05-02
- 3.5.1 — 2019-05-02
- 3.5.0 — 2019-03-27
- 3.5.0-alpha.3 — 2019-03-20
- … 27 more at https://npm.io/package/redux-dynamic-modules-saga/versions

## README

## Install

Run

```
npm install redux-dynamic-modules-saga
```

or

```
yarn add redux-dynamic-modules-saga
```

## Usage

-   Create a module with the following format

```typescript
export function getUsersModule(): ISagaModule<IUserState> {
    return {
        id: "users",
        reducerMap: {
            users: usersReducer,
        },
        sagas: [userSagas],
        // Actions to fire when this module is added/removed
        // initialActions: [],
        // finalActions: [],
    };
}
```

-   Create a `ModuleStore`

```typescript
import { createStore, IModuleStore } from "redux-dynamic-modules";
import { getSagaExtension } from "redux-dynamic-modules-saga";
import { getUsersModule } from "./usersModule";

const store: IModuleStore<IState> = createStore(
  {
    initialState: {},
    enhancers: [],
    extensions: [getSagaExtension({} /* saga context */)],
  },
  getUsersModule()
  /* ...any additional modules */
);
```

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