Q. What is the purpose of props in React?
Solution:
Props are used to pass data from parent to child components.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
Props are used to pass data from parent to child components.
Strengthen Your Practice with our comprehensive question bank.