0.0.2 • Published 5 years ago
happy-api v0.0.2
Happy API
API middleware for Redux.
npm install happy-apiimport API from 'redux-thunk'; // no changes here 😀Why Do I Need This?
TODO
Motivation
TODO
Installation
TODO
npm install happy-apiThen, 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