rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.95k stars 865 forks source link

problem using redux-persist 5.5.0 and redux-persist-immutable 4.3.1 #681

Open mlyeung opened 6 years ago

mlyeung commented 6 years ago

hi newbie using this lib. as captioned, when i pass the persistor, created by persistStore from redux-persist-immutable, it throws error:

TypeError: this.props.persistor.subscribe is not a function PersistGate.componentDidMount http://127.0.0.1:3000/app.f14796c7b693d8b16e78.js:57232:49 http://127.0.0.1:3000/app.f14796c7b693d8b16e78.js:11845:26

appreciate if anyone help here thanks

nhducit commented 6 years ago

You can follow this issue: https://github.com/rt2zz/redux-persist-immutable/issues/33

Alver23 commented 6 years ago

Hi, I have the same problem, any solution for this?

image

sylflo commented 6 years ago

It seems except fixing the issue or downgrading there is no other solutions. Is downgrading to the version 4 of redux persist is enough ? I know it's a temporary solution