Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot read property 'ref' of undefined - on wrapped store #157
I am using 'react-chrome-redux' package in order to develop a chrome extension which use firebase for authenticating and data storing
I configured my environment correctly, but I got this error:
my store configuration:
so infact the redux store is wrapped in order to use chrome extension functionality.
when I am trying to connect component with firebaseConnect I get the error mentioned above .
I'm in the process of doing the same, my advice is not to try to
To sum up, use
Then, create your alias in the background script, import
I'm not completely sure if that is a correct approach, and I do hope that can help you. Any feedback from you guys would be appreciated! Thanks a lot @prescottprue for this great module!
@phsultan Thanks for posting your example! I am going to look into indicating this in the docs somewhere, and even potentially creating a
@ykorach going to assume this solution works for you for now and close the issue. Will post to this issue with the link to the example after it is included.