Repository navigation
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e632d4e3-54d2-4423-9888-8e37b00494a3
joshblack
added this pull request to stack #8559
October 16, 2026 15:55
🦋 Changeset detectedLatest commit: 01ac8b5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
|
joshblack
commented
Oct 16, 2026
joshblack
commented
Oct 16, 2026
github-actions
Bot
requested a deployment
to
storybook-preview-8562
October 16, 2026 16:01
Abandoned
1 of 5 tasks
joshblack
force-pushed
the
joshblack/react-compiler-stable-callbacks
branch
from
October 16, 2026 16:47
c052312 to
01ac8b5
Compare
|
Integration test results from github/github-ui PR: |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up to #8558.
This PR updates
useOnEscapePressanduseOnOutsideClickto use our existing effect-synchronized callback helper. Callback changes no longer re-register their event handlers or reattach the document listener.The public APIs stay the same, including explicit callback dependencies passed to
useOnEscapePress. This is preparation for its compiler migration;useOnEscapePressremains excluded while we preserve that dependency-array contract.Changelog
New
Changed
Removed
Rollout strategy
This is a patch performance improvement with no public API changes.