monaredux

0.2.1 • Public • Published

About

This repository is fork from reduxsauce, thanks to @skellock.

Added Feature

In my practice, I used "createActions" to create "Creators" and "Types", and my Apps usually consisted of many redux. Those redux's Types may have the same name, So I add a "prefix" parameter to "createActions".

const { Creators, Types } = createActions({ one: null }, 'PREFIX_')

//Types:
//{ ONE: 'PREFIX_ONE' }

//Creators.one()
//{ type: 'PREFIX_ONE' }

Readme

Keywords

Package Sidebar

Install

npm i monaredux

Weekly Downloads

0

Version

0.2.1

License

MIT

Last publish

Collaborators

  • sanqian