elgerlambert / redux-localstorage

Store enhancer that syncs (a subset) of your Redux store state to localstorage.
MIT License
1.32k stars 107 forks source link

Passing an empty array into paths uses void slicer #79

Open cboileau opened 6 years ago

cboileau commented 6 years ago

Passing an empty array ([]) into the paths argument uses the void slicer instead of the array slicer.

I expected that an empty array would mean don't persist any of the state data, but instead it's persisting all state data.

sergeylukin commented 6 years ago

maybe you just don't need redux-locastorage then lol