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

fix(fuselage-toastbar): React 18 compatibility #1531

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Conversation

tassoevan
Copy link
Collaborator

Proposed changes (including videos or screenshots)

It handles the fact that React 18's Strict Mode fires effects twice, which breaks Fuselage's toast bar portal.

Issue(s)

Further comments

@tassoevan tassoevan requested a review from dougfabris January 21, 2025 18:24
Copy link

changeset-bot bot commented Jan 21, 2025

🦋 Changeset detected

Latest commit: d5ebe8e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@rocket.chat/fuselage-toastbar Patch

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

@tassoevan tassoevan requested a review from a team January 21, 2025 18:24
Copy link
Member

@dougfabris dougfabris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for some reason these changes blocks the browser when tries to start the storybook and doesn't render anything, neither issues on console

Copy link
Member

@dougfabris dougfabris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tassoevan tassoevan merged commit c7478d2 into main Jan 23, 2025
6 checks passed
@tassoevan tassoevan deleted the fix/toastbar-react-18 branch January 23, 2025 03:38
@github-actions github-actions bot mentioned this pull request Jan 23, 2025
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.

2 participants