New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add cleanup for timeout in announce #31264
Merged
Merged
Conversation
This file contains 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
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
FluentProviderWithTheme | virtual-rerender | 38 | 40 | 10 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 628 | 666 | 5000 | |
Button | mount | 317 | 307 | 5000 | |
Field | mount | 1132 | 1103 | 5000 | |
FluentProvider | mount | 714 | 727 | 5000 | |
FluentProviderWithTheme | mount | 88 | 88 | 10 | |
FluentProviderWithTheme | virtual-rerender | 38 | 40 | 10 | Possible regression |
FluentProviderWithTheme | virtual-rerender-with-unmount | 79 | 75 | 10 | |
MakeStyles | mount | 882 | 873 | 50000 | |
Persona | mount | 1737 | 1761 | 5000 | |
SpinButton | mount | 1377 | 1356 | 5000 | |
SwatchPicker | mount | 1565 | 1510 | 5000 |
📊 Bundle size report
Unchanged fixtures
|
spmonahan
approved these changes
May 2, 2024
layershifter
approved these changes
May 3, 2024
khmakoto
reviewed
May 7, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is complaining about the lack of a change file.
packages/react-components/react-aria/src/AriaLiveAnnouncer/useDomAnnounce.ts
Outdated
Show resolved
Hide resolved
fabricteam
reviewed
May 20, 2024
fabricteam
reviewed
May 20, 2024
khmakoto
approved these changes
May 20, 2024
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.
Adds cleanup for the timeout set up for
announce()
, for if the announcer is unmounted while there's an existing timeout.Ref: #31251 (comment)