Skip to content

Conversation

@Zaccal
Copy link
Contributor

@Zaccal Zaccal commented Aug 8, 2025

Add useDebounceEffect hook

Introduces useDebounceEffect, a wrapper around useDebounceCallback that runs an effect with a debounce delay based on dependencies.
It simplifies the common pattern of using a debounced callback inside useEffect.

Not sure about its necessity since useDebounceValue and useDebounceCallback already provide similar functionality, but it may improve readability in some cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant