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

React Hydration Error with Radix Toast #3301

Open
stefanvonderkrone opened this issue Dec 23, 2024 · 0 comments
Open

React Hydration Error with Radix Toast #3301

stefanvonderkrone opened this issue Dec 23, 2024 · 0 comments

Comments

@stefanvonderkrone
Copy link

Bug report

Current Behavior

When adding Radix Toast to a Remix Project, the client reports an issue with hydration and switches to client rendering.

Error Message:

Uncaught Error: This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.

Expected behavior

No such error occurs.

Reproducible example

Github Repo

Suggested solution

Unfortunately, I have no idea :(

Additional context

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-toast 1.2.4
React n/a 18.3.1
Browser Edge 131.0.2903.112
Assistive tech n/a n/a
Node n/a v22.8.0
npm/yarn npm 10.8.2
Operating System MacOS 15.2
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

No branches or pull requests

1 participant