@overengineering/fps-meter
v0.1.2
Published
Fast and simple FPS meter for React. Renders to a canvas element and uses requestAnimationFrame to update the FPS counter.
Downloads
81
Readme
fps-meter
Fast and simple FPS meter for React. Renders to a canvas element and uses requestAnimationFrame to update the FPS counter.
Install
pnpm add @overengineering/fps-meter
Usage
import React from 'react'
import { FPSMeter } from '@overengineering/fps-meter'
export const MyApp: React.FC = () => {
return (
<div>
<FPSMeter className="absolute right-0 top-0" height={40} />
</div>
)
}