Sibling Communication Patterns
Coordinate two sibling components through shared parent state and callback props.
Welcome
In this lesson you will implement sibling communication in React by coordinating two components through shared parent state and callback props.
Siblings Cannot Talk Directly
In React, data flows down through props. Two siblings have no direct connection. All sibling communication goes through their common parent.
All lessons in this course
- Lifting State Up: Principles & Examples
- Prop Drilling: When It Hurts & When It's Fine
- Sibling Communication Patterns
- Choosing the Right State Location