Pass Data from Parent to child component using props in React js In hindi
ErcDev
This video is Regarding sending data from Parent components to child component. Display Data is parent component and DisplayDataChild is child Component. The ParentComponent defines a variable called displayData and passes it to the ChildComponent as a prop called sendData.
In the ChildComponent, props are received as an argument to the functional component. You can access the data prop using props.sendData and render it within the component.
props.sendData.map will help to iterate array usestate and diaply in TD TR of the tables . Display Data Using Array UseState ;- https://youtu.be/UmGpDj701Pg To subscribe :- youtube.com/@Web3react for Beginners and advanced as well ... https://www.youtube.com/watch?v=LSbceW5zyj8
2023-11-02
0.0 LBC
Copyrighted (contact publisher)
28942502 Bytes