https://github.com/seungyeub/redux-reducer-helper
🎨 simple library that simple module that helps to management redux store CRUD 🕶
https://github.com/seungyeub/redux-reducer-helper
action crud ducks immutable payload react react-redux reducer redux store
Last synced: about 1 year ago
JSON representation
🎨 simple library that simple module that helps to management redux store CRUD 🕶
- Host: GitHub
- URL: https://github.com/seungyeub/redux-reducer-helper
- Owner: Dev-Jeromebaek
- License: mit
- Created: 2018-05-10T07:52:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T20:58:37.000Z (over 3 years ago)
- Last Synced: 2024-05-21T10:28:14.113Z (about 2 years 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
[](https://github.com/Dev-JeromeBaek/redux-reducer-helper/blob/master/LICENSE)
[](https://github.com/Dev-JeromeBaek/redux-reducer-helper/pulls)
[](https://www.npmjs.com/package/redux-reducer-helper)
[](https://www.npmjs.com/package/redux-reducer-helper)
[](https://github.com/Dev-JeromeBaek/redux-reducer-helper/pulls)
[](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.