Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardReactrender vs commit phaseSingle-choice MCQ

When React processes a state update and a component returns the exact same element reference it returned last time (e.g. via `React.memo` bailing out or returning a stable child), what happens during reconciliation?

const child = useMemo(() => <Heavy />, []); return <div>{child}</div>;