Zack Story

Results 81 comments of Zack Story
trafficstars

It looks like your top level state is a plain object not an immutable Map. redux-persist-immutable currently only supports top level state as a Map. In the near future we...

yes this is a bug, thanks for finding! just released v4.1.0 with fix

👍 I have bad memories of peer deps from npm 2 days. But I suppose in this case, it would always be better to grab the peer dep than to...

It looks like this line `return state.get('routing').toJS();` expects your state to be an Immutable Map. Changing that to `return state.routing.toJS();` may solve your issue. Otherwise I would advise waiting a...

Not sure, potentially this weekend!

Ok tentative immutable support for redux-persist now available at https://github.com/rt2zz/redux-persist-immutable. **note** I have not actually run this in an app, but the tests pass ;)

@braco if you can weigh in on what changes are needed for seamless-immutable support, I believe it should be easy to add in. Right now we reply on Map.get() in...

@braco code in question is here: https://github.com/rt2zz/redux-persist-immutable

persisting happens all the time, is there a reason you want to be notified? Also v5 has a `flush` method that returns a promise which when resolved means "persist is...

that looks about right, something similar works for me: ``` js headers: { authorization: 'bearer '+token }, ``` This should not matter but maybe try lowercase 'authorization' and removing the...