why-did-you-render by Welldone Software monkey patches React to notify you about potentially avoidable re-renders. (Works with React Native as well.)
MIT License
Bot releases are visible (Hide)
Published by vzaidman about 4 years ago
Published by vzaidman about 4 years ago
fixed a false positive regarding React elements with several children with different props:
https://github.com/welldone-software/why-did-you-render/issues/117
I came across situations where a component is re-rendered
because a property that holds a huge object deep equals to it's previous version is passed to it
(after a request to the API that returns the same result)
this caused my console to almost crash with tracks of every single nested property of it.
so now we would:
added logOwnerReasons by @Hypnosphi.
You can read about it here:
https://github.com/welldone-software/why-did-you-render#logownerreasons
added support to Sets tracking by @jfrumar-infinitusai
added logOwnerReasons
by @Hypnosphi.
You can read about it here:
https://github.com/welldone-software/why-did-you-render#logownerreasons