act like a state change react code example Example: reading state react function Example(props) { // You can use Hooks here! return <div />; }