Transcript
00:00 Clearly things aren't quite working quite right yet, because when we click on this button, nothing is happening, and we want things to happen. So, your job is to make it so that we re-render. That's why nothing is happening.
00:14 So technically, this state value is happening, and in fact, if I add this console.log new state, save this, then you'll notice, yes, we are calling that set state, and we're calling it with the right state.
00:30 And in fact, if I say state, this is the actual value, then we are assigning it to the right thing. The problem is that we are not re-rendering, so every time I click on this, nothing is happening, because we're not rendering the counter again.
00:47 So your job is to render the counter again, and this is still not going to actually fix the problem for us, but a console.log in here should actually run when you're finished, and that gets us one step closer to having a use state that actually works. So, let's get into it.