How to access argument in function inside the arrow function
hi I am using the component which return input text. I wrote two child component so I have two independent instance with independent state ,props. when I click the submit it shows the data which i get from the state. I am using the callback function , i append the data as a object with different key 1 and 2.But i am not able to access that childid inside the setstate. Anyone please help me on this.