Learn how to pass data (values) from ReactJS Component to another component. In Reactjs it is called props. Props are the values you passed from component to component. Props are immutable data. You can easily pass data from parent Reactjs Component to child component using props.
Step 1: Create Parent Component (Component 1)
Here we are creating sample component which is the parent component named as "MyParents". We use this component to pass data to second component named as "FirstChildren ". Second component will be created in step 2.