This package has been deprecated

Author message:

Use @storeon/localstorage instead

storeon-localstorage

0.2.0 • Public • Published

storeon-localstorage

Installation

yarn add storeon-localstorage

Usage

import persistState from 'storeon-localstorage'
 
const store = createStore([
  /* modules */
 persistState(), 
])

persistState(path, config)

type path = Void | String | Array<String>

If no pass the path value then persistState store in local storage all state.

type config.key = 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.

Readme

Keywords

none

Package Sidebar

Install

npm i storeon-localstorage

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

5.95 kB

Total Files

5

Last publish

Collaborators

  • polemius