Get memory, CPU usage and FPS
npm install @panda-tool/react-native-performance-monitor
import {
startMonitoring,
stopMonitoring,
type PerformanceData,
} from '@panda-tool/react-native-performance-monitor';
// ...
const [performanceData, setPerformanceData] = useState<PerformanceData>();
useEffect(() => {
startMonitoring((data) => {
setPerformanceData(data);
});
return () => {
stopMonitoring();
};
}, []);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library