@ -69,7 +69,7 @@ function Counter({initialCount}) {
The "+" and "-" buttons use the functional form, because the updated value is based on the previous value. But the "Reset" button uses the normal form, because it always sets the count back to the initial value.
If your update function returns the exact same value, the subsequent rerender will be skipped completely.
If your update function returns the exact same value as the current state, the subsequent rerender will be skipped completely.