Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 688 Bytes

debugging.md

File metadata and controls

15 lines (9 loc) · 688 Bytes

Debugging

this section is still under construction

React debugging with React DevTools (Profiler and Component Inspector)

  1. Run Profiler and see what caused a re-render for a particular component.

  2. Look up the component in the Component Inspector.

  3. Learn about which hook corresponds to the number of the hook mentioned in the Profiler to have caused the re-render

    see this and this reply.

useDebugValue hook

See this reply