https://github.com/mirismaili/smart-reducer
An advanced, still very easy to use reducer for React
https://github.com/mirismaili/smart-reducer
action actions async-action easy easy-to-use no-dispatch no-reducer react reducer state state-manager usereducer
Last synced: 4 months ago
JSON representation
An advanced, still very easy to use reducer for React
- Host: GitHub
- URL: https://github.com/mirismaili/smart-reducer
- Owner: mirismaili
- License: mit
- Created: 2022-02-22T20:45:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-02T09:14:11.000Z (over 3 years ago)
- Last Synced: 2025-10-10T23:22:15.971Z (8 months ago)
- Topics: action, actions, async-action, easy, easy-to-use, no-dispatch, no-reducer, react, reducer, state, state-manager, usereducer
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Smart-Reducer
> An advanced, still very easy-to-use reducer for React
[](https://npmjs.com/package/smart-reducer)
[](https://packagephobia.now.sh/result?p=smart-reducer)
[](https://npmjs.com/package/smart-reducer)
[](https://github.com/mirismaili/smart-reducer/blob/master/LICENSE)
[](https://github.com/mirismaili/smart-reducer/fork)
[](https://github.com/mirismaili/smart-reducer)
```bash
npm i smart-reducer
```
or:
```bash
yarn add smart-reducer
```
## Usage
```javascript
import useSmartReducer, { payloadSym, simpleLogger } from 'smart-reducer'
```