JSPM

react-localstorage-hook

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1229
  • Score
    100M100P100Q108276F
  • License MIT

Package Exports

  • react-localstorage-hook

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-localstorage-hook) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React useLocalStorage

Features

  • It is an custom hook to browser localstorage management.
  • For the same localstorage key It is consistent across the component (synchronize values between components).
  • serializer (JSON.stringify)
  • deserializer (JSON.parse)