Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🕶
- Host: GitHub
- URL: https://github.com/dev-jeromebaek/redux-reducer-helper
- Owner: Dev-Jeromebaek
- License: mit
- Created: 2018-05-10T07:52:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T20:58:37.000Z (almost 2 years ago)
- Last Synced: 2024-05-21T10:28:14.113Z (7 months ago)
- Topics: action, crud, ducks, immutable, payload, react, react-redux, reducer, redux, store
- Language: JavaScript
- Homepage:
- Size: 2.13 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.