This library is published in the NPM registry and can be installed using any compatible package manager.
npm install react-localstorage --save
# For Yarn, use the command below.
yarn add react-localstorage
This module has an UMD bundle available through JSDelivr and Unpkg CDNs.
<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/react-localstorage"></script>
<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/react-localstorage"></script>
<script>
// UMD module is exposed through the "reactLocalStorage" global variable.
console.log(reactLocalStorage);
</script>
Documentation generated from source files by Typedoc.
Released under MIT License.