Getting Redux DevTools To Work
问题 I followed the tutorial, however, am getting the console error: " Error : Expected the reducer to be a function " Here is my ( relevant ) configuration: WEBPACK.CONFIG.JS: ... const TARGET = process.env.npm_lifecycle_event; process.env.BABEL_ENV = TARGET; ... if( TARGET === "start" || !TARGET ) { module.exports = merge( common, { devtool : "inline-source-map", devServer : { contentBase : PATHS.build, hot : true, progress : true, stats : "errors-only" }, plugins : [ new webpack