Open salnikovp0 opened 5 years ago
Hello @salnikovp0 - Can you give us a little more detail around the structure of your app? Are you including webext-redux
in a normal html page?
Yes it happens from the version of "react-chrome-redux": "2.0.0-alpha.5" and newer. I use it also in a content page, when declare the "content_scripts": [ { "matches": ["://"], "js": ["pages/index.js"], "run_at": "document_end" } ] It try's to load the webapi in the html page, and not in the background side. that's why it falls
Got it - wrapStore
was not designed to be used on a content script. Is there a reason you are using wrapStore
on a content-script rather than a Proxy Store?
I am using the "this.props" in order to get data from the state. Just like simple react application
בתאריך שבת, 13 באפר׳ 2019, 21:59, מאת Tyler Shaddix < notifications@github.com>:
Got it - wrapStore was not designed to be used on a content script. Is there a reason you are using wrapStore on a content-script rather than a Proxy Store?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tshaddix/webext-redux/issues/203#issuecomment-482865981, or mute the thread https://github.com/notifications/unsubscribe-auth/ALTtuOPMRpqWd5udp66ONt0cD8pXnMS9ks5vgij4gaJpZM4cqbeC .
@salnikovp0 Is there any way you can share a snippet of your code for your content script that's throwing the error?
Hi,
Ive updated the version to the latest 2.0.2, And i started to get this Error when i try to load a page that content.html. The manifest.json doesn't changed, got the Permission: tabs included like before.