Q. How do you pass data from a child to a parent component?
β
Correct Answer: (C)
Using callback functions
Explanation: A child can invoke a callback passed via props to send data to the parent.