Card 1 of 24, React in Practice. Showing the question.
Question
Composition over prop drilling: what's the first tool you reach for?
Answer
Pass JSX as children or as a prop instead of threading data down. The component that owns the state renders the leaf and hands it over, so the components in between never see the prop at all. id: 3b3733de-b24f-49db-8389-d4b4d98fb3b2
You wrote
⌘/Ctrl + Enter turn over · ← → move · 1 held · 2 revisit · S shuffle