why-did-you-render
why-did-you-render copied to clipboard
why-did-you-render by Welldone Software monkey patches React to notify you about potentially avoidable re-renders. (Works with React Native as well.)
This PR makes Set comparison deep and adds deep Map comparison.
I am seeing the warning `Warning: why-did-you-render couldn't handle circular references in props. RangeError Maximum call stack size exceeded` frequently occurring in my application, due to a circular reference in...
Hi, Before we used `why-did-you-render` without automatic jsx transform and it worked good. However, after adding `babel-plugin-transform-react-jsx` the library doesn't seem to be working. I've tried to do everything as...
I've been trying to get it to work with Next.js v11 and now v12 but have never had any success. Would you mind providing an example? Thanks
I have an app that uses a lot of mainstream React libraries including `react-router` and `react-redux`. It's big so we also leverage `React.lazy` and `React.Suspense`. I recently noticed dev errors...
I tried a lot of ways,but it dosen't show any information in console. I don't know what's wrong. ``` javascript import { times } from "lodash"; import React from "react";...
https://github.com/welldone-software/why-did-you-render/pull/237 implemented the initial React 18 support (thanks @jussikinnula!). However, React 18 also added [several new hooks](https://reactjs.org/blog/2022/03/29/react-v18.html#new-hooks) which are currently not tracked. One of these hooks is `useSyncExternalStore`; it’s not...
I have used wdyr with my RN Expo app in the past, maybe a year ago, but now it is not showing anything in the logs. Any help would be...
I'm not sure what part of the system causes things to break, but using create-react-app 4 seems to effectively disable why-did-you-render. Switching back to react-scripts 3.4.4 fixes things.
I'm working with typescript and webpack. Any component wrapped in WDYR will not refresh. I did notice if you wrap a component `whyDidYouRender` it will reload. ```jsx import React from...