No, The state will remain as it is until your component unmounts. If you want to trigger something while unmounting then you can use useEffect hook.
How do I reset my state after rendering?
Use 'setState' with callback function which can revert the state.
Does changing state re-render?
A re-render can only be triggered if a component's state has changed. The state can change from a props change, or from a direct setState change. The component gets the updated state and React decides if it should re-render the component.