Why is the usage of setState?
Why is the usage of setState?
a) Invoke code after the setState operation is done.
b) Replace the state completely instead of the default merge action.
c) Access the previous state before the setState operation.
d) None of the above