Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ember-redux/ember-redux-thunk-shim
Ember shim for redux-thunk
https://github.com/ember-redux/ember-redux-thunk-shim
ember redux redux-thunk
Last synced: 2 months ago
JSON representation
Ember shim for redux-thunk
- Host: GitHub
- URL: https://github.com/ember-redux/ember-redux-thunk-shim
- Owner: ember-redux
- License: mit
- Created: 2016-12-12T19:41:37.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-02T12:43:39.000Z (about 5 years ago)
- Last Synced: 2024-10-28T22:38:18.576Z (3 months ago)
- Topics: ember, redux, redux-thunk
- Language: JavaScript
- Homepage:
- Size: 158 KB
- Stars: 0
- Watchers: 8
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-redux-thunk-shim
[![Travis][ci-img]][ci-url] [![NPM][npm-img]][npm-url] ![Ember][ember-img]
## Deprecated
With the release of ember-redux v5.0 you should uninstall this
```bash
npm uninstall ember-redux-thunk-shim --save-dev
ember install ember-auto-import
npm install redux-thunk --save-dev
```## Installation
```bash
ember install ember-redux-thunk-shim
```## Usage
```js
// app/middleware/index.jsimport 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](https://github.com/gaearon/redux-thunk) Github page.
[ci-img]: https://img.shields.io/travis/ember-redux/ember-redux-thunk-shim.svg "Travis CI Build Status"
[ci-url]: https://travis-ci.org/ember-redux/ember-redux-thunk-shim
[ember-img]: https://img.shields.io/badge/ember-1.13.13+-green.svg "Ember 1.13.13+"
[npm-img]: https://img.shields.io/npm/v/ember-redux-thunk-shim.svg "NPM Version"
[npm-url]: https://www.npmjs.com/package/ember-redux-thunk-shim