You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two things which need to get changed in your code:
As you expect a logging for changed values, if you click on the button in the Header, you need to set the logOnDifferentValues option of whyDidYouRender to true.
Repo for details: 15077693d/Next-js-Boilerplate-adding-why-did-you-render@19ea9f0
I followed implementation from vercel/next.js/tree/canary/examples/with-why-did-you-render
Result(No log in console):
Screen.Recording.2023-05-26.at.1.20.25.PM.mov
The text was updated successfully, but these errors were encountered: