Bug: Suspense fallback re-renders excessively during slow network responses
Description
When using React.Suspense with a fallback component, the fallback is being
re-rendered multiple times during slow network requests. This causes unnecessary
UI flickering and increased component load, especially on low-performance devices.
Steps to Reproduce
- Wrap a lazy-loaded component inside <Suspense fallback={<Spinner />}>.
- Simulate a slow network response (2–5 seconds delay).
- Observe multiple re-renders of the fallback UI in the console.
Expected Behavior
The fallback component should ideally render once and remain stable until the lazy component resolves.
Actual Behavior
The fallback re-renders several times durin
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
It is an AI crap throwing user, also poluting my repo.