redux-base

3.4.3 • Public • Published

Redux Base

Install

yarn add redux-base 

Examples

Create action

import createAction from 'redux-base/createAction';
 
import {
  NAMESPACE_APP,
  APP_LOAD,
} from './types';
 
export default createAction(NAMESPACE_APP, APP_LOAD, (getState, appId) => {
  return fetch(`https://service-url.com/api/v1/apps/${appId}`);
});

License

The MIT License Copyright (c) 2016-2018 Ivan Zakharchanka

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i redux-base

      Weekly Downloads

      4

      Version

      3.4.3

      License

      MIT

      Unpacked Size

      5.35 kB

      Total Files

      7

      Last publish

      Collaborators

      • 3axap4ehko