Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React devtool does not show reason why component rerendered

The react developer tool used to show why a component was rendered, e.g. due to state change, context update or because of a rerender of the parent. This information can not be found in the flamegraph anymore.

Did they remove it or are there some prerequisites in order for this information to be included?

enter image description here

like image 369
Kilian Avatar asked Apr 14 '26 15:04

Kilian


1 Answers

I found the solution by pure chance today. There is a checkbox hidden in the settings on the profiler page which can be toggled to enable this setting..

React Devtool

like image 170
Kilian Avatar answered Apr 17 '26 11:04

Kilian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!