While integrating redux-saga an annoying little error may pop up in the console.
1 Uncaught ReferenceError: regeneratorRuntime is not defined
It took a bit of research to figure out why, and it shouldn’t have since the notice is listed in the README for
redux-saga. Most browsers do not support ES2015 generators, so require using a polyfill.
Add the import for
babel-polyfill prior to importing
redux-saga to the
1 2 import 'babel-polyfill'; import createSagaMiddleware from 'redux-saga';