You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using parcel for building my application and I had this issue reduxjs/react-redux#1489, in short, the application has react-redux/lib and react-redux/es running at the same time, and my ReactReduxContext was returning null value, because I was accessing the wrong import.
Issue was solved in my application by adding following alias to my module-resolver forcing all imports resolve to
I ran into the same issue with this library and I fixed it by manually changing the require("react-redux") to require("react-redux/lib"). Do you have any suggestion how to best go about fixing this issue without manual file editing?
The text was updated successfully, but these errors were encountered:
skmasq
changed the title
React redux dependency resolve issue with parcel
React redux dependency issue ReactReduxContext Consumer is null
May 28, 2020
I'm using parcel for building my application and I had this issue reduxjs/react-redux#1489, in short, the application has react-redux/lib and react-redux/es running at the same time, and my ReactReduxContext was returning null value, because I was accessing the wrong import.
Issue was solved in my application by adding following alias to my module-resolver forcing all imports resolve to
I ran into the same issue with this library and I fixed it by manually changing the require("react-redux") to require("react-redux/lib"). Do you have any suggestion how to best go about fixing this issue without manual file editing?
The text was updated successfully, but these errors were encountered: