Socket
Socket
Sign inDemoInstall

redux-fluent

Package Overview
Dependencies
6
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    redux-fluent

A Practical and Functional utility for redux


Version published
Weekly downloads
12
decreased by-86.21%
Maintainers
2
Install size
68.0 kB
Created
Weekly downloads
 

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

Discussion

License

MIT

Keywords

FAQs

Last updated on 09 Feb 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc