Releases: zewish/redux-remember
Releases · zewish/redux-remember
2.0.3
2.0.1
2.0.0
What's new?
- Library no longer patches redux functions - it uses standard way to provide new functionality to the store (A "root reducer" and an "enhancer");
loadedKey
option is now removed as it can be quite easy to replicate this functionality with a simple reducer;serialize
andunserialize
options are now available and they allow you to specify your own serializer/unserializer that's different fromJSON.stringify
andJSON.parse
. This would be quite helpful if your storage driver does the serialization for you;persistThrottle
option is now available and is defaulted to 100 milliseconds;persistWholeStore
option is now available and is defaulted tofalse
. If you set this totrue
you have to make sure your storage driver'ssetItem()
function can save the whole store in a single key. There are limitations on most browsers and AsyncStorage, so don't set this totrue
unless you know what you're doing.