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

Bug: suspense fallback flickers with nested suspended components #32796

Open
tien opened this issue Apr 1, 2025 · 1 comment
Open

Bug: suspense fallback flickers with nested suspended components #32796

tien opened this issue Apr 1, 2025 · 1 comment
Labels
Resolution: Needs More Information Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@tien
Copy link

tien commented Apr 1, 2025

Suspense fallback flicker multiple times with nested suspended children, even after they have already resolved all promises.

Wrapping children in their own Suspense boundary doesn't stop parent fallback from flickering, implying a boundary leak.

This issue started happening from v19.1.0. On v19.0.0, the fallback is only shown once as expected.

I'm currently working on a minimal reproduction. Here's what it looks like in one of my application:

Screen.Recording.2025-04-01.at.2.38.41.PM.mov
@tien tien added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Apr 1, 2025
@eps1lon
Copy link
Collaborator

eps1lon commented Apr 2, 2025

It doesn't look like this bug report has enough info for one of us to reproduce it.

Please provide a CodeSandbox (https://react.new), or a link to a repository on GitHub.

Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Needs More Information Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

2 participants