ended5월 7일· 1 sources
Why Optimizing Click Handlers Won't Solve Your INP Problem
INP의 진짜 병목은 클릭 핸들러가 아니다
Why it matters
INP consists of three phases—input delay, processing time, and presentation delay. While developers typically focus on optimizing handler speed, input delay caused by long-running tasks blocking the main thread often dominates INP scores independent of handler efficiency. By identifying the actual bottleneck and breaking up long tasks using techniques like scheduler.yield(), developers can address the real performance issue rather than optimizing the wrong phase.
1
Sources
+0
24h
—
Growth
136d
Active
INPinput delaylong tasksReacttask scheduling