Quiz: Use Context to Cover an Area
Test your understanding of the useContext hook in React.
1
What is the main drawback of the props approach for sharing state between distant components?
A)
It requires modification of the state in each component.
B)
It results in performance issues.
C)
It leads to a tight coupling between components.
D)
It becomes expensive due to the need to modify many components.
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.