This is an interactive metric. Collected once user tries to interact with the page.
Using web-vitals npm package
import {getFID} from 'web-vitals';
getFID(console.log);This is an interactive metric. Collected once user tries to interact with the page.
import {getFID} from 'web-vitals';
getFID(console.log);import {getCLS} from 'web-vitals';
getCLS(console.log);