why-did-you-render by Welldone Software monkey patches React to notify you about potentially avoidable re-renders. (Works with React Native as well.)
React 18
since it differs quite a lot from previous versions when monkey patching. by @vzaidman
React.isWDYR
to React.__IS_WDYR__
by @vzaidmanuseSyncExternalStore
by @iamakulov in https://github.com/welldone-software/why-did-you-render/pull/283
yarn audit
vulnerabilities by @vzaidmanoops! please use v8.0.1 and above :)
peerDependencies
in package.json
. Thank you @jussikinnula!jsx-runtime
types (Thank you @hrazmsft)defaultProps
being lost on components patched by wdyr. Thank you @joeyparis!! https://github.com/welldone-software/why-did-you-render/pull/194