In the react-hooks repo, I show how to use react hooks and how to use react use-state to increment and decrement a value on the button click event.