on-internet
← Community

startTransition behaves differently if useTransition is used

Stack Overflow ·

I am working through some React internals and here in "Suspense with Transitions" states when Suspense would show fallback and when it would not. I could read this: When a render suspends, React asks one question: "Would showing the fallback HIDE content the user can already see?" Then it applies the rule: Yes, it would hide existing content, and this update is a transition (or a retry of one) → React does not commit the fallback. It keeps the current screen fully alive and lets the new render finish in the background. The user sees the old UI until the new UI is completely ready. No existing

Comments

Sign in or sign up to comment and upvote.

No comments yet.