What is the second argument for setState useful for?
To invoke code after the setState operation is done
To replace the state completely instead of the default merge action
To access the previous state before the setState operation
Correct Answer : A
In component lifecycle which one is executed before rendering?
Which of the following API is necessary for React.js component?
Which of the following method define default values for properties using props?