Tag view

#communication

Cross-subject tag search for related interview cards.

Clear

Results update as you type. Press / to jump straight into search.

Tagged with communication

2 cards

React Medium Theory

Component communication, sibling communication, and composition vs inheritance in React

Data usually flows down from parent to child, while child-to-parent and sibling communication happen through callbacks, lifted state, or shared providers.

  • Parent-to-child uses props
  • Child-to-parent uses callback props
  • Composition is preferred over inheritance in React

Component communication, sibling communication, and composition vs inheritance in React