react-ls

Help you to cache data on the client side

Usage no npm install needed!

<script type="module">
  import reactLs from 'https://cdn.skypack.dev/react-ls';
</script>

README

react-ls

Help you to save data on the client side

Install

npm i react-ls

Usage

import LocalStorage from "react-ls";

<LocalStorage>
{({get, set, remove, key}, isError) => <YourChildrenComponents>}
</LocalStorage>