React Parent-Child Communication Example
This is a simple React project demonstrating parent-to-child and child-to-parent communication using props and state.
Features
• A parent component (App.js) communicates with two child components: o Childcom.js: Sends a message from the child back to the parent. o GreetingChild.js: Displays a greeting passed from the parent.
• Demonstrates the use of: o React useState for state management. o Props for passing data and functions between components.