Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 360 Bytes

rerenders.md

File metadata and controls

13 lines (8 loc) · 360 Bytes

Rerenders

We use why-did-you-render to detect components re-renders.

To use it, add the following after your component declaration:

ComponentName.whyDidYouRender = true

This will detect re-renders despite values being equal.

For advanced usage, see why-did-you-render docs.