You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgive me if I'm just being new here ;-) I'm trying to follow along with Redux, React-Router 1-beta4, and your Next branch and its entirely possible I'm doing it wrong.
Issue I'm getting is the error in the title that's coming from reduxReactRouter.js and it may due to React-Router not exporting the createRoutes function? At any rate, I got past it by including React-Routers RouteUtils and using it like so:
Did you npm install --save react-router@git+https://github.com/acdlite/react-router.git#d8a41c86090ee661bc19b93c0a9169db510c46d8
There is a note on the next readme; this is what fixed that error for me.
You can probably just npm install --save react-router@git+https://github.com/rackt/react-router.git#master now that the pull request has been merged to master but I haven't tested it that way.
Thanks, that appears to have been it. Switched from beta4 release to the master branch at this time fixed it. Cheers!
EDIT- actually switched to acdlite react-router as react-router proper has build issues with webpack when installing from github, as seen here: petehunt/webpack-howto#30
I getting the same error as- WEBPACK_IMPORTED_MODULE_10_history_createBrowserHistory__.createHistory is not a function. I have "react": "^15.6.1", "react-router": "^4.1.1", "react-router-dom": "^4.1.1",
"react-router-redux": "^4.0.8". Please help me
I am not getting the solution anywhere.
Forgive me if I'm just being new here ;-) I'm trying to follow along with Redux, React-Router 1-beta4, and your Next branch and its entirely possible I'm doing it wrong.
Issue I'm getting is the error in the title that's coming from reduxReactRouter.js and it may due to React-Router not exporting the
createRoutes
function? At any rate, I got past it by including React-Routers RouteUtils and using it like so:Anyone else seeing this issue?
The text was updated successfully, but these errors were encountered: