React-canvas-stats port of stats.js to work with react

I’ve ported mrdoob’s stats.js to work with react. I couldn’t figure out how to get it into a component so i refactored the part that does the time logging and made the panel react friendly. Not exactly three.js, but people who work with react and three may find it useful: