Strong types for local storage access using react hooks.
npm install --save @taystack/use-storageSimilar to React.useState. All use*Storage methods apply
import{useLocalStorageString}from'@taystack/use-storage'functionMyComponent(){const[value,setValue]=useLocalStorageString('my_store_key','default value')return(<div>My stored value {value}</div>)}MIT © taystack
This hook is created using create-react-hook.