Menu

1 / 6

I Built a React Tool to Trace Where a 464 ms Click Spent Its Time

#hackernoon#technology#react#click#render
Long article (2489 words) — no AI summary yet.
Reading 0:00
15s threshold

I clicked Log in on a demo page. Chrome measured 464 ms from the click to the next paint. That was the page’s Interaction to Next Paint (INP) at the time. Okay, so the click was slow. I still needed to figure out where the time went.

So I built react-inp-blame . It lines up the browser’s interaction timings with what React committed. The login report showed 405 ms of processing. It leaned toward the click handler because only two components re-rendered.

464 ms click on button "login" in SignInPage. The onClick handler or React's render of SignInPage most likely took the 405 ms, the handler the likelier: React re-rendered only 2 components.

I started it on September 12, 2026. 0.1.0 was on npm five days later and 1.0.0 came out on October 10. No runtime dependencies, MIT license. Everything I show below runs on the live demo , so you can go click the same buttons.

What INP measures

On most pages, INP is the latency of the longest interaction.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.