We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Component
1 parent bdd623f commit 228669eCopy full SHA for 228669e
packages/react-reconciler/src/ReactFiberBeginWork.js
@@ -1891,10 +1891,7 @@ function mountLazyComponent(
1891
}
1892
1893
1894
- const loggedComponent =
1895
- getComponentNameFromType(Component) ||
1896
- // eslint-disable-next-line react-internal/safe-string-coercion
1897
- '' + Component;
+ const loggedComponent = getComponentNameFromType(Component) || Component;
1898
1899
// This message intentionally doesn't mention ForwardRef or MemoComponent
1900
// because the fact that it's a separate type of work is an
0 commit comments