why-did-you-render by Welldone Software monkey patches React to notify you about potentially avoidable re-renders. (Works with React Native as well.)
Why do you think that https://github.com/dai-shi/use-context-selector is a good alternative to why-did-you-render