First: fork
Second: do a little :
$ npm install
$ npm run start
Third: open the console in your dev tool and play around to see which and when hooks are being used !
Also go see this:
An awesome pdf. Don't forget to put a star there!
Big thanks
to Kent C. Dodds for this. Go read his blog. Go buy his courses \o/