A declarative reactive localStorage using MobX
npm install mobx-localstorage#### Install
``bash`
yarn add mobx-localstorage`bash`
npm i -S mobx-localstorage
#### Features
* Higher performance than native getter
* Synchronize with external changes
* Support native APIs and MobX APIs
#### Usage
Same as native but can be observed by MobX
`js
import { autorun } from 'mobx';
import localStorage from 'mobx-localstorage';
autorun(() => {
console.log(localStorage.getItem('foo'));
});
localStorage.setItem('foo', 'bar');
// print bar
``