use-uncontrolled
Manage state of both controlled and uncontrolled components
Source
Docs
Package
Usage
use-uncontrolled
manages state for both controlled and uncontrolled components:
Set value type
By default, the hook will set type automatically, but you can provide your own type:
Definition
Exported types
UseUncontrolledOptions
and UseUncontrolledReturnValue
types are exported from @mantine/hooks
package,
you can import them in your application: