How does React handle multiple setState statements inside a function? Does it automatically batch them and cause a single re-render? Is the behavior different when specified ins