πŸ“Š React Js
Q. Which of the following is true about React Context API?
  • (A) It provides a way to pass data through the component tree without passing props manually at every level
  • (B) It replaces Redux
  • (C) It is used for styling components
  • (D) It only works with class components
πŸ’¬ Discuss
βœ… Correct Answer: (A) It provides a way to pass data through the component tree without passing props manually at every level

Explanation: Context API allows for global state management without prop drilling.

Explanation by: Mr. Dubey
Context API allows for global state management without prop drilling.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate