@kogai/redux-util

0.1.5 • Public • Published

redux-util

Utility tools for redux based project. It has purpose that do not rely on babel(or other transpiler).

Usage

createAction

// ActionCreator
const createAction = require('@kogai/redux-utils').createAction;
const sampleAction = createAction({ type: 'SAMPLE_ACTION' });

// Redux-Middleware
const actionVerification = require('@kogai/redux-utils').actionVerification;
const createStoreWithMiddleware = applyMiddleware(
  actionVerification
)(createStore);

Readme

Keywords

Package Sidebar

Install

npm i @kogai/redux-util

Weekly Downloads

2

Version

0.1.5

License

MIT

Last publish

Collaborators

  • kogai