hard20 pts · first answer countscore-web-vitalsinpdebugging
Observing slow interactions
What does this observer report?
new PerformanceObserver((list) => {
for (const e of list.getEntries()) {
if (e.interactionId) console.log(e.name, e.duration)
}
}).observe({ type: 'event', durationThreshold: 40, buffered: true })Discussion 0
Join free to post in the discussion.