0.2.1 • Published 8 years ago

monaredux v0.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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' }