• 0

uncaught typeerror: (0 , _redux2.default) is not a function

To solve this problem, Install and configure babel-plugin-add-module-exports


npm install babel-plugin-add-module-exports --save-dev For CommonJS code, add the following in your .babelrc
{
  "presets": ["es2015"],
  "plugins": [
    "add-module-exports"
  ]
}
For UMD code, add the following in your .babelrc
{
  "presets": ["es2015"],
  "plugins": [
    "add-module-exports",
    "transform-es2015-modules-umd"
  ]
}