Skip to content

ember-redux/ember-redux-thunk-shim

Repository files navigation

ember-redux-thunk-shim

Travis NPM Ember

Deprecated

With the release of ember-redux v5.0 you should uninstall this

npm uninstall ember-redux-thunk-shim --save-dev
ember install ember-auto-import
npm install redux-thunk --save-dev

Installation

ember install ember-redux-thunk-shim

Usage

// app/middleware/index.js

import thunk from 'redux-thunk';

var resolved = thunk.default ? thunk.default : thunk;

export default [resolved];

To learn more about redux-thunk and how to use it visit the redux-thunk Github page.