stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Duplicate of KBA 320 Flashcards | StudBud
Duplicate of KBA 320
1 / 85
When toggling a boolean state value using useState, which approach is correct?
A
state = !state;
B
setState(!prevState);
C
setState(prevState => !prevState);
D
state(!state);
Next
0
0
correct · 0:00