Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-fluent

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-fluent

A Practical and Functional utility for redux

  • 0.100.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-27.27%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 09 Feb 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc