I have object={x:[],y:[],z:[]} got from Api and passed it as prop from <Acomponent/> to child <Bcomponent/> like <Acomponent data={object}/>.
<Bcomponent/> state is {a:[],b:[],c:[]}
I want data props from <Acomponent> to be added to state of <Bcomponent/>
(i.e) final state of <Bcomponent/> has to be 
{a:[],b:[],c:[],x:[],y:[],z:[]}
How it can be done?
 
     
     
    