React · Senior · Question 24 of 75

Why doesn't an already-shown Suspense fallback appear during a transition inside startTransition?

Explanation

If already displayed content suspends because of an urgent update, React shows the fallback. In a transition it prefers to keep the previous screen (with isPending for an indicator), so skeletons don't "flash". Navigation in Suspense-based routers works this way.

Further reading

Problem with a question

React · Senior · question 24

Test yourself

Take the React · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz