State
useSet
Set state with add, remove, toggle, has, and clear helpers.
API
useSet<T>(initial?: Iterable<T>): [Set<T>, UseSetActions<T>]State
Set state with add, remove, toggle, has, and clear helpers.
useSet<T>(initial?: Iterable<T>): [Set<T>, UseSetActions<T>]