Hint
FID measured only the first interaction's input delay; INP measures the worst interaction delay across the full page visit
FID (First Input Delay) — measured the delay between the first user interaction and when the browser could begin processing it. Only the first interaction counted.
INP (Interaction to Next Paint) — replaced FID in March 2024. Measures the full duration of the worst interaction across the entire page visit: input delay + processing time + presentation delay.
Why INP is a better metric:
How to improve INP:
scheduler.yield() or setTimeout(0) to yield between chunks.startTransition in React 18 to mark non-urgent renders.