stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Duplicate of KBA 320 Flashcards | StudBud
Duplicate of KBA 320
0
0
/ 85
Question
When toggling a boolean state value using useState, which approach is correct?
Answer
setState(prevState => !prevState);
Know it
Still learning
Flip
Space
Card 1 of 85