erikras / erikras/react-redux-universal-hot-example

'TypeError: _dispatch is not a function' while running 'npm run dev'

Open
#1,111 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

Below is the stack trace

`TypeError: _dispatch is not a function
at Object.dispatch (/Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/redux/lib/applyMiddleware.js:45:18)
at /Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/react-router-redux/lib/index.js:90:13
at /Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/history/lib/useQueries.js:109:9
at /Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/history/lib/useBasename.js:84:9
at Object.listen (/Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/history/lib/createHistory.js:104:7)
at Object.listen (/Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/history/lib/useBasename.js:83:22)
at Object.listen (/Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/history/lib/useQueries.js:108:22)
at middleware (/Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/react-router-redux/lib/index.js:83:34)
at /Users/nishant.pathak/projects/temp/react-redux-universal-hot-example/node_modules/redux/lib/applyMiddleware.js:49:16
at Array.map (native)`

This is happening due to redux upgrade to v3.5.0. Looking further into it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.