fallback UI

The placeholder content React shows instead of part of the tree, either while it loads (Suspense) or after it crashes (error boundary).

In more detail

Good fallbacks keep the page layout stable and tell the user what is happening, such as a skeleton for loading or a message with a retry button for errors. The fallback replaces only the part of the tree inside the nearest boundary, so the rest of the page stays usable.

Related terms

Taught in

References