This item only defines dependencies and configuration. Check the Configuration panel on the right for more details.
Configuration
Name
use-controllable-state
Type
Hook
Description
A useState-shaped hook that lets one component serve both controlled (value/onChange) and uncontrolled (defaultValue) callers, with a stable setter and prop-accurate updaters.
Files
1
Registry Items
This item has no files to display
This item only defines dependencies and configuration. Check the Configuration panel on the right for more details.
Configuration
Name
use-controllable-state
Type
Hook
Description
A useState-shaped hook that lets one component serve both controlled (value/onChange) and uncontrolled (defaultValue) callers, with a stable setter and prop-accurate updaters.