Closed baszalmstra closed 7 years ago
Hi, thanks for submitting the issue. To confirm, would @@redux/INIT
be the correct default type
value here? My intention with that line was to create an "initial state" by passing some blank action that would make everything give defaults.
yeah, that sounds good. On Thu, 10 Nov 2016 at 15:20, Shiranka Miskin notifications@github.com wrote:
Hi, thanks for submitting the issue. To confirm, would @@redux/INIT be the correct default type value here? My intention with that line was to create an "initial state" by passing some blank action that would make everything give defaults.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/samiskin/redux-electron-store/issues/34#issuecomment-259701460, or mute the thread https://github.com/notifications/unsubscribe-auth/AEw7f5srSVuEABm2waTLiYBYZ-rtvXUXks5q8yg8gaJpZM4KudFx .
Should be fixed in v0.4.1
We use redux-actions which has this defined when handling actions:
This is a problem for redux-electron-store when you do not pass in an initialState because of this line in
electronRendererEnhancer.js
:The type is set to null which causes an error in redux-actions.