ember-redux-saga-shim
Installation
ember install ember-redux-saga-shim
Usage
import createSagaMiddleware from 'redux-saga'
import {call, put, takeEvery, takeLatest} from 'redux-saga/effects'
To learn more about redux-saga
and how to use it visit the redux-saga Github page.
Polyfill
In order to use generator functions in your Ember application you need to make sure you do one of the following:
-
Include Babel Polyfills – In order to include Babel polyfills add the following to your ember-cli-build.js configuration:
'ember-cli-babel': {
includePolyfill: true
}
Learn more…
-
Add a Polyfill – Add a polyfill by simply running the following command:
ember install ember-maybe-import-regenerator
Learn more…