πŸ“Š React Js
Q. What is the default value of useState when not provided?
  • (A) undefined
  • (B) null
  • (C) 0
  • (D) Empty string
πŸ’¬ Discuss
βœ… Correct Answer: (A) undefined

Explanation: If no initial state is passed, state is undefined initially.

Explanation by: Mr. Dubey
If no initial state is passed, state is undefined initially.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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