michaelcontento / redux-storage

Persistence layer for redux with flexible backends
MIT License
675 stars 50 forks source link

How to only persist certain parts of state? #160

Closed brandonfujii closed 8 years ago

brandonfujii commented 8 years ago

Is there a way to exclude certain parts of state from storage?

maluramichael commented 7 years ago

What is the solution to this?

brandonfujii commented 7 years ago

@maluramichael I would suggest using an engine decorator like: https://github.com/michaelcontento/redux-storage-decorator-filter. With it, you'd be able to blacklist certain parts of your storage.

maluramichael commented 7 years ago

@brandonfujii nice. thank you.