2.1.0 • Published 3 years ago

redux-vertical v2.1.0

Weekly downloads
19
License
MIT
Repository
github
Last release
3 years ago

Redux-Vertical

Coverage Status

Build large Redux apps using vertically separated features.

Install

npm install --save redux-vertical

Usage

import { createTypes } from 'redux-vertical';

// we namespace all our types
// you no longer have to worry about action types clashing
export const namespace = 'app';
export const types = createTypes(
  // namespace will prefix all our types!
  namespace
  [
    'openModal',
    'handleClick',
    'updateEmailSettings',
  ],
);
// types will look like the following
// types = {
//   openModal: 'app.openModal',
//   handleClick: 'app.handleClick',
//   updateEmailSettings: 'app.updateEmailSettings'
// };

API

Comming soon

Prior Work

This project is a derivative of redux-actions with some additional API and some slight modifications to make those functions work exclusive of Symbol types. As such this library will not work with Symbol type actions.

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago