UseToggle
Context
There are times when we have some React state that should always hold a boolean value and should only allow toggling between true and false; there is no need for an intermediary value because the setState callback already has the actual value of the hook and will not change based on scoping.