Infosys Interview Question

How data is passed in the reactjs.