---
title: "Discussion on \"A 400 ms click where React's render was not the problem\" | Hashnode"
description: "Discussion on \"A 400 ms click where React's render was not the problem\". Tracing a 400 ms React click with Event Timing, Long Animation Frames, and react-inp-blame when React's render was not the bottleneck."
url: "https://hashnode.com/posts/a-400-ms-click-where-react-s-render-was-not-the-problem/6aeab6c4be1d40b94b232135"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A 400 ms click where React's render was not the problem](https://adityareddy.hashnode.dev/a-400-ms-click-where-react-s-render-was-not-the-problem?utm_source=hashnode&utm_medium=feed)

Tracing a 400 ms React click with Event Timing, Long Animation Frames, and react-inp-blame when React's render was not the bottleneck.

Nov 4 · 6 min read · adityareddy.hashnode.dev  
Updated 19h ago  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-performance](https://hashnode.com/tag/web-performance)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Aditya Reddy](https://hashnode.com/@adityareddy-dev)

@adityareddy-dev · Milwaukee, WI, USA

  
[View profile](https://hashnode.com/@adityareddy-dev)

Senior Software Engineer · OpenTelemetry Browser approver · IEEE Senior Member

Senior Software Engineer focused on web performance, browser instrumentation, and observability. OpenTelemetry Browser approver, IEEE Senior Member, OTCA, and GitLab Level 3 Contributor. Built System Designer, Desk Studio, and react-inp-blame.

## Responses 1

Markdown supported · ⌘↵ to post

[Tarun Sharma](https://hashnode.com/@101beardo)

[Nov 6](https://hashnode.com/posts/a-400-ms-click-where-react-s-render-was-not-the-problem/6aeab6c4be1d40b94b232135/comment/6aedf710c80ce90c45a1dcb6)

The split between the handler time and the later render is the useful part. Once the handler is the 399 ms, a common fix is to paint the loading state first and then run the heavy bit after a yield (scheduler.yield or a setTimeout 0), or move it to a worker, so the next paint is not waiting on it. Also good to see INP ignoring the late commit called out, that is the one people end up chasing in the profiler.
