Skip to content

BlackToolBoxLaboratory/react-sync-localstorage

Repository files navigation

Blacktbox-react-sync-localstorage

A component for sync data from localstorage with React.

Installation

Using with NPM:

$ npm install --save @blacktoolbox/react-sync-localstorage

// using ES6 modules
import { SyncLocalStorageProvider, useSyncLocalStorage } from '@blacktoolbox/react-sync-localstorage';

// using CommonJS modules
var SyncLocalStorageProvider = require('@blacktoolbox/react-sync-localstorage').SyncLocalStorageProvider;
var useSyncLocalStorage = require('@blacktoolbox/react-sync-localstorage').useSyncLocalStorage;

Issue

Feel free to see around the codebase and share your experience with us. We will be grateful to be given advices.

Please file issue, if you have any issue or idea.

Homepage

You can see the document website on-line.