title: Call a function in a sibling component Reactjs
body: <p>There are 3 components. First one is the parent component called A. The others are X and Y.</p>
  
  <p>X is a toolbar component that has a Save button. And Y is a Form component that has some inputs (obviously). And both of them are imported and rendered in A. </p>
  
  <p>So what I am trying to do is when the Save button in X clicked, I want the Form in the B to be submitted.</p>
  
  <p>Thanks in advance.</p>