It's sending data with navigator.sendBeacon and using requestIdleCallback for sending analytics data if browser support
installation
https://www.npmjs.com/package/perf-analysis-library
npm install perf-analysis-library
// or
yarn add perf-analysis-library
implementation
// add to App.js
import 'perf-analysis-library';
That's all!