-
Notifications
You must be signed in to change notification settings - Fork 117
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
"Cannot read property getState of undefined" #85
Comments
I had the same issue when trying to use this module on my app. |
Thanks @prescottprue and @tbranyen! Could you let us know if you're using Redux, and what version of React / Redux you are using? Also, if you have any additional code to share to help us debug this, it would be greatly appreciated! For the short term, we could try removing the call to the redux store by removing lines 95-102 in 'chrome-ext/backend/installHook.js'. I updated the readme to include instructions on how to build and load a custom version of the extension. |
|
I'm getting this error too. I hope this helps! Great library btw! 👍 EDIT: I'm using create-react-app |
Getting the same problem. Should the code also check that there actually is a state property and that it and that it has a getState method? Someone not using redux might use a state prop to mean something else, for instance. |
@mike-es6 I think that is exactly what would fix it |
Fixed it here #202 |
Going to close |
First off: Thanks for the great package
Following basic setup instructions causes the following issue:
It looks like it is assuming that all components are getting store? Not sure why the check for the property isn't catching it.
The text was updated successfully, but these errors were encountered: