Brace Your React, New Core Web Vitals are Coming
summary
Google promotes a new metric Interaction to Next Paint (INP) which becomes a Core Web Vital in March 2024 and already flags big sites while other metrics stay green. A note‑taking demo shows typing causing 600–700 ms freezes because React renders everything synchronously; splitting state and wrapping the list update with useTransition() via startTransition yields responsive typing, giving React 5 ms work slices and pushing heavy renders non‑urgent so INP drops (works in the demo).
AI-written summary · about
chapters (7)
- 0:00New Core Web Vitals intro
- 1:49Interaction to Next Paint
- 6:30Slow React interactions debug
- 8:17Optimizing with useTransition
- 14:38How useTransition works
- 18:55Suspense for hydration
- 22:29Summary and call
related talks
08mExploring the future of Core Web Vitals
24mUnderstanding and Optimizing Interaction to Next Paint (INP)
44mBreaking Down Long Tasks
16mThe state of responsiveness on the web
25mCore Web Vitals under control
25mA look under the hood of the new INP metric
49mThe Unbearable Weight of Massive JavaScript
27mSlashing Performance Bottlenecks and Poor User Experience
