Closed jeroenbourgois closed 8 years ago
For now I can bypass it by sending a nullified config with the function: {records: null}
I also have the same issue. Thanks for the workaround!
You can just give an empty configuration object too.
persistStore(store, {
transforms: [ immutableTransform({}) ],
})
The check for config is not enough, this gives an error:
if(config.records
because when config is undefined it will try to read records. I proposeif(config && config.records)
?If you want I will make a PR