reactjsreact-native-debugger

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


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?


Solution

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

    enter image description here