@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
10 lines • 341 B
TypeScript
/**
* This is a React hook that can be used to make sure a value is the same,
* when none of it’s values have changed.
*
* This is useful for preventing unnecessary renders in some case.
*
* @internal
*/
export declare function useShallowUnique<ValueType>(value: ValueType): ValueType;
//# sourceMappingURL=useShallowUnique.d.ts.map