storeon-localstorage
Installation
yarn add storeon-localstorage
Usage
const store =
persistState(path, config)
type path = Void | String | Array<String>
If no pass the path
value then persistState
store in local storage all state.
type configkey = String
Default value of config.key
is storeon
. This key used to store date in local storage.
LICENSE
MIT
Acknowledgments
This module based on redux-localstorage.