InterviewBuddy
All interview questions

What does lifting state up mean?

Beginner

Answer

Move shared state to the nearest common ancestor and pass values and handlers down to children. This gives related components one source of truth.