How to show "Why did this render" In React Dev Tools Profiler
Asked Answered
S

1

10

I am reading this article about profiling React applications: Optimize slow React components and in the Profiler you can see "Why did this render" in the tooltip and sidebar:

enter image description here

enter image description here

Where as in my profiler there is no such information. I am using the latest version of React Native Debugger:

enter image description here

How can I see / display this information?

Setaceous answered 1/6, 2022 at 12:53 Comment(0)
C
16

There is a setting for that, which is disabled by default apparently:

enter image description here

Cachou answered 8/6, 2022 at 13:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.