Set descriptive displayName on withRouter HOC (#7017)
Not sure when it was introduced, but on the latest Next v8.0.4, there's no descriptive name attached to the component returns from `withRouter`. This makes it harder to debug and write test cases for components wrapped by `withRouter`.
Showing
想要评论请 注册 或 登录