react state shows last code example Example: reactjs update state example { hasBeenClicked: false, currentTheme: 'blue', }