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

use-local-storage-state

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-local-storage-state - npm Package Compare versions

Comparing version 0.3.5 to 0.4.0

2

dist/index.d.ts
import { Dispatch, SetStateAction } from 'react';
export default function useLocalStorageState<T>(key: string, defaultValue: T): [T, Dispatch<SetStateAction<T>>];
export default function useLocalStorageState<T>(key: string, defaultValue?: T): [T, Dispatch<SetStateAction<T>>];
{
"name": "use-local-storage-state",
"version": "0.3.5",
"description": "React hook for using local storage the same way you use setState()",
"version": "0.4.0",
"description": "React hook for local storage state done right",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "astoilkov/use-local-storage-state",

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