Skip to content

useFps ​

Category
Sensors

Hook that measures frames per second

typescript
import { useFps } from '@siberiacancode/reactuse';

Usage ​

typescript
const fps = useFps();

Demo ​

Api ​

Returns

number

Contributors ​

Source • Demo