Google's New Core Web Vital (INP) Explained in 5 Minutes

preview_player
Показать описание
I found the truth behind how INP is calculated. It was very misleading!

**Newsletter**

**DISCORD**

**QUESTIONS ABOUT MY SETUP**
Рекомендации по теме
Комментарии
Автор

Isn't react state updates before transitions sync?

leopolon
Автор

you re right. but you know that browser receives SIGNAL from monitor to update approximely each 16ms (60fps), so that means the user input and your event handler shoudnt block NEXT PAINT, thats idea behind INP. With your asynchronous call, you can implement an visual feedback before api call easily

RobertMolina-sk
Автор

So this means any asynchronous call we make is not considered to effect INP.
I'm wondering how do i even recognise what's main thread and how it's being blocked in a application?

yashsolanki
Автор

This is to combat blocking server response times!

sentry.
Автор

Nice that's kind of what I thought INP was, but it's definitely a little confusing 💯
I'm loving those 🐍 case numbers though! 🙌🏻

petecapecod
Автор

Agreed, seems a useless metric at this point.

RobertMcGovernTarasis