🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@contember/react-utils

Package Overview
Dependencies
Maintainers
5
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/react-utils - npm Package Compare versions

Comparing version

to
1.1.0-rc.5

1

dist/types/hooks/useForceRender.d.ts

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

/// <reference types="react" />
export declare const useForceRender: () => import("react").DispatchWithoutAction;
//# sourceMappingURL=useForceRender.d.ts.map

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

/// <reference types="react" />
export declare const useIsMounted: () => import("react").MutableRefObject<boolean>;
//# sourceMappingURL=useIsMounted.d.ts.map

4

dist/types/hooks/useStoredState.d.ts
import { Serializable } from '../types';
declare type SetState<V extends Serializable> = (value: V | ((current: V) => V)) => void;
declare type ValueInitializer<V extends Serializable> = (storedValue: V | undefined) => V;
type SetState<V extends Serializable> = (value: V | ((current: V) => V)) => void;
type ValueInitializer<V extends Serializable> = (storedValue: V | undefined) => V;
export declare const useSessionStorageState: <V extends Serializable>(key: string, initializeValue: ValueInitializer<V>) => [V, SetState<V>];
export {};
//# sourceMappingURL=useStoredState.d.ts.map

@@ -1,4 +0,4 @@

export declare type Serializable = string | number | boolean | null | readonly Serializable[] | {
export type Serializable = string | number | boolean | null | readonly Serializable[] | {
readonly [K in string]?: Serializable;
};
//# sourceMappingURL=types.d.ts.map
{
"name": "@contember/react-utils",
"license": "Apache-2.0",
"version": "1.1.0-rc.4",
"version": "1.1.0-rc.5",
"type": "module",

@@ -6,0 +6,0 @@ "sideEffects": false,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet