-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Status Quo / Problem / Topic
useDebounce() often is used in conjunction with useState(). Combine the two.
Solution
A combination of useDebounce() and useState() called useDebouncedState() (Similar to the already existing useThrottledState()).
API proposal:
const [value, setValue] = useDebouncedState(initialState, debounceTimeMs, options = {})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request