rt2zz / redux-persist

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

Error : Unexpected key "[deleted_reducer]" found in previous state received by the reducer #854

Open AmauryLiet opened 6 years ago

AmauryLiet commented 6 years ago

Hi guys,

First of all, thanks a lot for the lib, I allowed us to make some great features seamlessly ;)

I noticed a bug on the lib:

We recently removed a reducer from our redux state. During rehydrate , redux throws an error:

Unexpected key "deleted_reducer" found in previous state received by the reducer. Expected to find one of the known reducer keys instead: (...). Unexpected keys will be ignored.

We are using: "redux": "^4.0.0", and "redux-persist": "^5.9.1",

jstayton commented 6 years ago

See https://github.com/rt2zz/redux-persist/issues/618.