Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dev-jeromebaek/redux-reducer-helper

🎨 simple library that simple module that helps to management redux store CRUD 🕶
https://github.com/dev-jeromebaek/redux-reducer-helper

action crud ducks immutable payload react react-redux reducer redux store

Last synced: about 1 month ago
JSON representation

🎨 simple library that simple module that helps to management redux store CRUD 🕶

Awesome Lists containing this project

README

        

# redux-reducer-helper

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Dev-JeromeBaek/redux-reducer-helper/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/Dev-JeromeBaek/redux-reducer-helper/pulls)
[![npm version](https://img.shields.io/npm/v/redux-reducer-helper.svg?style=flat)](https://www.npmjs.com/package/redux-reducer-helper)
[![npm](https://img.shields.io/npm/dm/redux-reducer-helper.svg)](https://www.npmjs.com/package/redux-reducer-helper)
[![Github Issues](https://img.shields.io/github/issues-pr/Dev-JeromeBaek/redux-reducer-helper.svg?color=blueviolet)](https://github.com/Dev-JeromeBaek/redux-reducer-helper/pulls)
[![Github Issues](https://img.shields.io/github/issues/Dev-JeromeBaek/redux-reducer-helper.svg?color=yellow)](https://github.com/Dev-JeromeBaek/redux-reducer-helper/issues)

`redux-reducer-helper` is a library that simple module that helps to management redux store `CRUD`.

`init`, `set`, `update`, `push`,

```
delete: init(state, target, initState)
set: set(state, target, purpose)
update: update(state, target, index, key, value)
push: push(state, target, purpose)
```

# Getting started

## Install

```sh
$ npm install --save redux-reducer-helper
```
or

```sh
$ yarn add redux-reducer-helper
```
Alternatively, you may use the provided UMD builds directly in the `` tag of an HTML page.