-
Notifications
You must be signed in to change notification settings - Fork 32
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
Using the <Video/> component throws Suspense boundary Unhandled Runtime Error #234
Comments
ps: react strict mode is enabled |
thanks for reporting. could you provide an online demo or codesandbox? Here you can fork |
It's causing the issue in my production app and I can't share the source code. Happy to help in other ways. |
It seems like suspense is not handled correctly in your library. I found a workaround (https://chat.openai.com/share/c75ba523-8567-4800-ae97-0a8674f9330e), but this is not ideal for library users since the underlying library is supposed to handle this. Looking forward to the fix from the library side. |
This is the error I get when I use the component. I followed https://next-video.dev/docs to set it up. If I remove the component then error is gone.
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.
here's how I'm using it:
"next": "14.1.4"
& pages routerLet me know if you need more details.
The text was updated successfully, but these errors were encountered: