Skip to content
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

chore(react-message-bar): Use useAnnounce() instead of the deprecated useAnnounce_unstable() #33178

Merged

Conversation

emmayjiang
Copy link
Contributor

@emmayjiang emmayjiang commented Oct 30, 2024

Previous Behavior

I found this while investigating another bug and decided to put in a PR -- feel free to close if this is an unnecessary change.

We currently use useAnnounce_unstable, which is deprecated, instead of useAnnounce. The hooks are functionally the same. The change comes from #30328.

New Behavior

Use useAnnounce, the stable version of the old hook useAnnounce_unstable

Related Issue(s)

N/A

@emmayjiang emmayjiang marked this pull request as ready for review October 30, 2024 20:33
@emmayjiang emmayjiang requested a review from a team as a code owner October 30, 2024 20:33
@emmayjiang emmayjiang changed the title fix(react-message-bar): Use useAnnounce() instead of the deprecated useAnnounce_unstable() chore(react-message-bar): Use useAnnounce() instead of the deprecated useAnnounce_unstable() Oct 30, 2024
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 30, 2024

📊 Bundle size report

✅ No changes found

@emmayjiang emmayjiang merged commit a22d8ee into microsoft:master Oct 31, 2024
16 checks passed
@emmayjiang emmayjiang deleted the messageBar-use-useAnnounce-stable branch October 31, 2024 16:34
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.

4 participants