Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

React-Stats

React Performance Monitor

Inspired by https://github.com/mrdoob/stats.js

Screenshots

FPS

Usage

importReact,{Component}from'react';import{render}from'react-dom';importFPSStatsfrom'react-stats');const__DEV__=true;constApplication=()=>{return(<div><FPSStatsisActive={__DEV__}/> // True by default
</div>);};render(<Application/>,document.body);

Optional Props

By default, the meter is fixed positioned in the bottom right. You can pass the optional props top, right, bottom & left to overrride that positioning. bottom & right have values by default, so pass 'auto' as their values if you want to use left or top values.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages