CodeZettaInterview Hub

React · State · Junior · Architecture

When do you lift state up?

Short Interview Answer

When multiple siblings need the same data or a parent must orchestrate them.

Detailed Explanation

Single source of truth prevents desync. Don't lift everything to the app root prematurely.

Did you know this answer?