use-set
Use Set as React state
Source
Docs
Package
Usage
useSet
return Set
object that can be used as React state: add
, clear
and delete
methods trigger state updates.
Duplicate scopes are not allowed
@mantine
@mantine-tests
@mantinex
Use Set as React state
Source
Docs
Package
useSet
return Set
object that can be used as React state: add
, clear
and delete
methods trigger state updates.
Duplicate scopes are not allowed
@mantine
@mantine-tests
@mantinex