UNPKG

use-s-react

Version:

useS is a minimal yet powerful React hook for managing both local and global state — with zero boilerplate

6 lines (5 loc) 175 B
import type { SupportedValueType } from "../types"; export declare function hasChanged(prev: unknown, next: unknown): { changed: boolean; type: SupportedValueType; };