Know the difference between passing value versus passing function. Let’s get straight to the point here and ask two questions, why do we have an option to pass a function to setState, and how does passing a function solve that? setState is asynchronous If you don’t know already, setState() is actually asynchronous, this…