New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@plq/use-persisted-state

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plq/use-persisted-state - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

CHANGELOG.md

@@ -0,1 +1,3 @@

### [0.2.2](https://github.com/Akurganow/use-persisted-state/compare/v0.2.1...v0.2.2) (2020-05-29)
### [0.2.1](https://github.com/Akurganow/use-persisted-state/compare/v0.2.0...v0.2.1) (2020-05-29)

@@ -2,0 +4,0 @@

2

package.json
{
"name": "@plq/use-persisted-state",
"version": "0.2.1",
"version": "0.2.2",
"description": "useState hook with persistance in storage",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -5,2 +5,11 @@ # usePersistedState

## Features
- Persist the state to `localStorage`, `sessionStorage` or anything else that implements `getItem`, `setItem` and `removeItem`
- State changes are syncing between tabs or windows
- The state factory takes as many keys as needed, so you don't have to call the factory for each variable
- Written with the Typescript, the defenitions go with the library
- No dependencies
- Only 645B (minified and gziped)
## Example

@@ -7,0 +16,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc