What is React context?
-
A
Data passing
-
B
Component communication
-
C
Tree propagation
-
D
All of the above
Correct answer
Correct answer
D. All of the above
17 views
Explanation
React context provides a way to pass data through component tree without prop drilling at every level.
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ