redux-electron-store: Seems to break immutable.js
Hi there,
I’m using Immutable.JS in my state and it seems that if I have electronEnhancer() in the renderer, I get the data fine as a basic object but it breaks Immutable’s functions.
For example, getState().auth.toJS()
works without the electronEnhancer but with it I get toJS is not a function
.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Comments: 18 (7 by maintainers)
Unfortunately much of this library is dependent on the use of plain JavaScript objects, even though it really shouldn’t. I’ll likely have to do a few API-breaking changes so I’m going to put this off for a bit until I start working on a
v0.4.0
.