I would advice you to visit this website, but to summarize it, that's easiest way to manage your local storage. It has 3 powerful functions, get, set and modify.
Just install the package from npm.
It is very easy to use this:
- Install the package with yarn or npm:
npm install @yusuf-yeniceri/easy-storage
or
yarn add @yusuf-yeniceri/easy-storage
- Import it to start using
import db from '@yusuf-yeniceri/easy-storage'
- Don't forget to check website