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

**URL:** <https://discourse.threejs.org/t/react-canvas-stats-port-of-stats-js-to-work-with-react/2541>\
**Category:** Resources\
**Tags:** react, utility\
**Created:** [April 22, 2018, 9:22pm UTC](https://discourse.threejs.org/t/react-canvas-stats-port-of-stats-js-to-work-with-react/2541 "2018-04-22T21:22:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pailhead](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/pailhead/32/85_2.png) [@pailhead](https://discourse.threejs.org/u/pailhead)\
**Post date:** [April 22, 2018, 9:22pm UTC](https://discourse.threejs.org/t/react-canvas-stats-port-of-stats-js-to-work-with-react/2541/1 "2018-04-22T21:22:26Z")

</div>

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:

> **[react-canvas-stats](https://www.npmjs.com/package/react-canvas-stats)**
>
> JavaScript Performance Monitor
