welldone-software/why-did-you-render
why-did-you-render by Welldone Software monkey patches React to notify you about potentially avoidable re-renders. (Works with React Native as well.) observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 77
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2853
- days_rel: 592
- days_push: 140
- n_releases_24m: 2
Adoption not part of the score
12512 stars · 224 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
why-did-you-render is a JavaScript library that monkey patches React to notify developers about potentially avoidable re-renders of components. It works with React and React Native and can also track when and why specific components re-render.
Use cases
- find out why a React component re-renders unnecessarily
- debug avoidable re-renders caused by inline object props like style={{width: '100%'}}
- track when and why a specific component updates
- optimize performance of heavy React components
- detect unnecessary re-renders in React Native apps
- trace re-renders caused by hooks dependencies
When to choose
- you are debugging performance issues caused by excessive React re-renders
- you use React or React Native and want to understand component update behavior
- you want to verify memoization (React.memo, PureComponent, useMemo) is working as expected
When to avoid
- you use the React Compiler, which is likely incompatible with this library
- you need production performance monitoring rather than development-time debugging
- your components are lightweight and re-render optimization would add complexity with negligible benefit
Facets
library · maturity active
monitoring developer-tools logging frontend web-development developer-tools performance browser cross-platform react react-native re-renders debugging performance-optimization hooks-tracking nodejs
1 source
- readme: https://github.com/welldone-software/why-did-you-render · fetched 2026-08-28 · ffe7d2b9f684
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| welldone-software/why-did-you-render | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="welldone-software/why-did-you-render")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem