-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.js:34416 Uncaught TypeError: createHistory is not a function #280
Comments
After changing The error become Solution? |
Did you solved this issue finally? Thanks |
@andfk no. I've changed my plugin to react-router-redux instead. maybe the problem lies within the history package i used is unsupported |
@ssuhat great. I ended doing the same. Thanks for reply |
Why was it closed? It still doesn't work. Moreover react-router-redux is not a solution. It doesn't have params in store. I propose to reopen this bug. |
@Darmikon ok i reopen it. |
Any news here? :( |
Enables npm to produce a UNMET PEER DEPENDENCY warning when incompatible peer dependencies are installed, such as in issue acdlite#280.
I had the same error when using useRouterMatch, which apparently can't be used in the same component that defines the routing. I don't know if it would be the same here, but in my case moving the tags from App.js to ReactDom.render in index.js solved the issue.
|
Version ^2.1.2
react-router version: "react-router": "^3.0.0",
history version: "history": "^4.3.0",
Steps to reproduce
Expected Behavior
Work properly.
Actual Behavior
It return an error
index.js:34416 Uncaught TypeError: createHistory is not a function(…)
The text was updated successfully, but these errors were encountered: