Q. Which method updates props in a class component?
Solution:
Props are read-only and cannot be updated directly.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
Props are read-only and cannot be updated directly.
Strengthen Your Practice with our comprehensive question bank.