happy-api

0.0.2 • Public • Published

Happy API

API middleware for Redux.

npm install happy-api
import API from 'redux-thunk'; // no changes here 😀

Why Do I Need This?

TODO

Motivation

TODO

Installation

TODO

npm install happy-api

Then, to enable Redux Thunk, use applyMiddleware():

import { createStore, applyMiddleware } from 'redux';
import API from 'redux-thunk';
import rootReducer from './reducers/index';
 
// Note: this API requires redux@>=3.1.0
const store = createStore(rootReducer, applyMiddleware(API));

License

MIT

Package Sidebar

Install

npm i happy-api

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

4.76 kB

Total Files

8

Last publish

Collaborators

  • laviro