https://github.com/code-y/redux-fluent
A Practical and Functional Redux Utility
https://github.com/code-y/redux-fluent
flux-standard-action fsa-actions functional-programming ramda react redux typescript typescript-definitions typings
Last synced: about 1 month ago
JSON representation
A Practical and Functional Redux Utility
- Host: GitHub
- URL: https://github.com/code-y/redux-fluent
- Owner: code-y
- License: mit
- Created: 2017-09-05T13:54:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-09T08:15:28.000Z (almost 3 years ago)
- Last Synced: 2025-10-02T04:01:05.777Z (6 months ago)
- Topics: flux-standard-action, fsa-actions, functional-programming, ramda, react, redux, typescript, typescript-definitions, typings
- Language: TypeScript
- Homepage: https://code-y.github.io/redux-fluent
- Size: 19.2 MB
- Stars: 25
- Watchers: 1
- Forks: 2
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README

[](https://github.com/Code-Y/redux-fluent/actions?query=workflow%3ABuild)
[](https://www.npmjs.com/package/redux-fluent)
[](https://github.com/Code-Y/redux-fluent/blob/master/LICENSE)
[](https://conventionalcommits.org)
[](https://www.npmjs.com/package/redux-fluent)
[](https://codeclimate.com/github/Code-Y/redux-fluent/maintainability)
[](https://codeclimate.com/github/Code-Y/redux-fluent/test_coverage)
#### ....................:::::::::::::::::::....................
#### [...::: TRY OUR COUNTER REDUCER EXAMPLE ON CODESANDBOX :::...](https://codesandbox.io/s/redux-fluent-the-counter-reducer-enoc2?fontsize=14&hidenavigation=1&module=%2Fsrc%2Fstore%2Fcounter%2Fcounter.reducers.ts&theme=dark)
#### ....................:::::::::::::::::::....................
### Installation
```
yarn add redux-fluent redux flux-standard-action
```
### Documentation
- https://code-y.github.io/redux-fluent
### Getting Started
```typescript
import { createStore } from 'redux';
import { createAction, createReducer, ofType } from 'redux-fluent';
const increment = createAction('increment');
const decrement = createAction('decrement');
const counter = createReducer('counter')
.actions(
ofType(increment).map(state => state + 1),
ofType(decrement).map(state => state - 1),
)
.default(() => 0);
const store = createStore(counter);
store.dispatch(increment());
```
### Distribution
- https://www.npmjs.com/package/redux-fluent
### Stats
- `3.2 kB` - https://bundlephobia.com/result?p=redux-fluent
### Discussion
- [](https://gitter.im/redux-fluent/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
- [StackOverflow](https://stackoverflow.com/questions/tagged/redux-fluent)
- [Github Issues](https://github.com/Code-Y/redux-fluent/issues)
- [Submit a Pull Request](https://github.com/Code-Y/redux-fluent/pulls)
### License
[MIT](https://github.com/Code-Y/redux-fluent/blob/master/LICENSE)