Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

urs

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urs - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

dist/useRefState.d.ts

@@ -7,3 +7,3 @@ import { MutableRefObject, Dispatch, SetStateAction } from 'react';

export declare const isObject: (obj: any) => obj is object;
export declare function useRefState<S>(initialState: S | (() => S) | undefined, blockIfUnmounted?: boolean): [MutableRefObject<S | undefined>, Dispatch<SetStateAction<S | undefined>>];
export declare function useRefState<S>(initialState: S | (() => S), blockIfUnmounted?: boolean): [MutableRefObject<S>, Dispatch<SetStateAction<S>>];
export default useRefState;
{
"name": "urs",
"version": "0.0.3",
"version": "0.0.4",
"description": "🔥 React hook for maintaining correct values, in a clean way",

@@ -5,0 +5,0 @@ "main": "dist/useRefState.js",

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