Sail E0 Webinar
Question
What is the second argument for setState useful for?
Options:
A .  To invoke code after the setState operation is done
B .  To replace the state completely instead of the default merge action
C .  To access the previous state before the setState operation
D .  None of the above
Answer: Option A

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers