--- id: communicate-between-components title: Communicate Between Components layout: tips permalink: communicate-between-components.html prev: false-in-jsx.html next: expose-component-functions.html --- For parent-child communication, simply [pass props](/react/docs/multiple-components.html). For child-parent communication: Say your `GroceryList` component has a list of items generated through an array. When a list item is clicked, you want to display its name: ```js var GroceryList = React.createClass({ handleClick: function(i) { console.log('You clicked: ' + this.props.items[i]); }, render: function() { return (