mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 13:06:00 +03:00
[PR #210] [MERGED] Use useEffectEvent in React hooks #1156
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/210
Author: @remorses
Created: 10/10/2025
Status: ✅ Merged
Merged: 10/12/2025
Merged by: @kommander
Base:
main← Head:more-useevent📝 Commits (2)
2ed4935Use useEffectEvent in useOnResize and rename useEvent to useEffectEvent54bbadbMerge branch 'main' into more-useevent📊 Changes
3 files changed (+9 additions, -7 deletions)
View changed files
📝
packages/react/src/hooks/use-event.ts(+1 -1)📝
packages/react/src/hooks/use-keyboard.ts(+3 -3)📝
packages/react/src/hooks/use-resize.ts(+5 -3)📄 Description
Summary
useEventtouseEffectEvent(matches React RFC naming)useEffectEventtouseOnResizehook to prevent unnecessary effect re-runs when callback references change🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.