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