Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

redux-fluent

Package Overview
Dependencies
0
Maintainers
2
Versions
74
Issues
File Explorer

Advanced tools

redux-fluent

A Practical and Functional utility for redux

    0.100.4latest

Version published
Maintainers
2
Yearly downloads
9,089
decreased by-15.83%

Weekly downloads

Changelog

Source

0.100.4 (2020-02-09)

Bug Fixes

  • build: production mode (0399598)

Readme

Source

redux-fluent

Build Status npm version License Conventional Commits

npm downloads Maintainability Test Coverage

....................:::::::::::::::::::....................

...::: TRY OUR COUNTER REDUCER EXAMPLE ON CODESANDBOX :::...

....................:::::::::::::::::::....................


Installation

yarn add redux-fluent redux flux-standard-action

Documentation

Getting Started

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

Stats

  • 3.2 kB - https://bundlephobia.com/result?p=redux-fluent

Discussion

License

MIT

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc