πŸ“Š React Js
Q. Which hook is used to manage local state in functional components?
  • (A) useState
  • (B) useEffect
  • (C) useContext
  • (D) useReducer
πŸ’¬ Discuss
βœ… Correct Answer: (A) useState

Explanation: useState allows you to add state to functional components.

Explanation by: Mr. Dubey
useState allows you to add state to functional components.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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