When profiling a React application using React DevTools, what color indicates a component that has re-rendered?

  • Blue
  • Green
  • Red
  • Yellow
When profiling a React application using React DevTools, a component that has re-rendered is indicated by the color Red. This visual cue helps developers identify components that are re-rendering, which can be useful for optimizing performance by reducing unnecessary renders. The other colors are not typically associated with indicating re-renders in React DevTools.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *