Skip to content

Commit

Permalink
add a comment about false positives from 'highlight renders' feature …
Browse files Browse the repository at this point in the history
…in the React DevTools
  • Loading branch information
kevinb-khan committed Jul 4, 2024
1 parent 6710dbe commit b884028
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/react-render-perf/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ will appear with a cyan outline around it.

<img src={highlightRerenders} width="500" />

<em>NOTE: Sometimes the plugin with render a highlight rectangle around a component when
it shouldn't so please double check that it's being rendered using the "⚛️ Profiler"</em>.

Switch to the "Profiler" tab in the dialog and enable "Record why each component rendered while profiling".

<img src={profilerSettingsUrl} width="500" />
Expand Down

0 comments on commit b884028

Please sign in to comment.