Question: The above will cause an infinite re-render. I had to solve by doing this: This is not the behavior inside of React components. Inside a component, if I set a useState to true when it is already true, then ...