JS.React.Counter on hooks

Source

And counter from Rei on his blog and the source code on github

Читать на сайте автора.