Closed spinbag closed 1 month ago
Can confirm this. Getting the same error using react-redux
v8.0
Trying to use this library with
react-redux
v8.0.1 breaks the app. Though it works withreact-redux
v7.2.8.Steps to reproduce:
- Initialise a store in the background script
- Initialise a proxy store in the UI
- Try to get state using
useSelector
Result:
Keep in mind that currently, the current version of the library has a hardcode limitation regarding the Redux
version, which could be causing conflict with the version you are using or that it doesn't provide support for it https://github.com/tshaddix/webext-redux/blob/master/package.json#L52
A solution (although not ideal) is to downgrade to react-redux@7
for the time being. This fixed the issue for me
npm i react-redux@7
Trying to use this library with
react-redux
v8.0.1 breaks the app. Though it works withreact-redux
v7.2.8.Steps to reproduce:
useSelector
Result:![Screenshot 2022-04-29 at 15 18 39](https://user-images.githubusercontent.com/9194892/165943340-8d3be452-cec8-444d-93a2-ea5a3bd03b59.png)