Comparing version 0.0.3 to 0.0.4
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8060