React·Intermediate·Conceptual·1 min read
What question does every composition pattern ultimately answer?
Short interview answer
Who decides what renders, and who owns the shared state involved. children hands rendering entirely to the caller; a render prop lets the owner keep state while the caller controls markup; compound components share state implicitly across several linked pieces via context.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.