Q. What is the purpose of props in React?

A
Manage state
B
Pass data to components
C
Style components
D
Handle events
Solution:

Props are used to pass data from parent to child components.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!