0.0.2 • Published 4 years ago

happy-api v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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