redux-action-type-creator
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Redux Action Type Creator

Create unique, easy to use Action Types

Install

npm i --save redux-action-type-creator yarn add redux-action-type-creator

Example

import createActionType from "redux-action-type-creator";

const ACTIONS = createActionType(
    "FETCH_USER",
    "CLEAR_USERS"
);

const fetchUser = () => ({
    type: ACTIONS.FETCH_USER
});

Package Sidebar

Install

npm i redux-action-type-creator

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ganderzz