-
Notifications
You must be signed in to change notification settings - Fork 7
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
trackHistory is not a function #12
Comments
I don't have check it now, I see if I can take a look at it on the weekend. You would have to post some details of the configuration / how you're setting up things at any rate |
Ok, here is my package.json (prior to redux-state-history):
I'm using combineReducers and composing the store like this:
Let me know what else do you need. |
can you post the combineReducers function? |
|
I checked the source code and I think |
@janckk I'm currently swamped in other things so not much time to work on this or look at your comment. I plan on adding this to a current react app I use for work so I'll get to improving it at some point |
Hi, @hamczu yes, I've been using the I've did a bit more research and it seems that it fails inside the trackReducerChanges: Seems like the newAppState.stateHistory is undefined but can't figure out why. It is not the versions (tried your example with latest versions and works fine), may be the redux router I'm using on the project. Any ideas? |
Ok if I create my own recuer called "stateHistory" I get error in the console saying: So I'm pretty sure the redux router is the issue? Perhaps the reducer names are clashing. |
Hi,
I'm having problem:
index.js:172 Uncaught TypeError: (0 , _reduxStateHistory.trackHistory) is not a function
I've followed the instructions and always get this. Any suggestions?
Sincerely,
Jan
The text was updated successfully, but these errors were encountered: