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
In order to work WDYR with Next 13 and AppRouter without a problem, there is a workround (also mentioned here) to put include: [/./] to whyDidYouRender function.
When I did that, I started to get strange warnings/errors in the browser console which I never got before:
AppRouterAnnouncer: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Home: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
InnerLayoutRouter: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
...
What might be the reason to this? When I remove include option, the errors are gone.
The text was updated successfully, but these errors were encountered:
In order to work WDYR with Next 13 and AppRouter without a problem, there is a workround (also mentioned here) to put
include: [/./]
to whyDidYouRender function.When I did that, I started to get strange warnings/errors in the browser console which I never got before:
What might be the reason to this? When I remove include option, the errors are gone.
The text was updated successfully, but these errors were encountered: