UNPKG

hoxa

Version:

A comprehensive collection of 100+ production-ready React hooks for state management, UI effects, forms, animations, and more. Carefully curated and optimized for performance and developer experience.

9 lines (8 loc) 221 B
export declare function useSet<T>(initialValues?: readonly T[]): { size: number; has: (value: T) => boolean; add: (value: T) => void; delete: (value: T) => void; clear: () => void; values: T[]; };