We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f68b83 commit fe29178Copy full SHA for fe29178
packages/react-reconciler/src/fiber.ts
@@ -158,7 +158,6 @@ export function createFiberFromElement(element: ReactElementType): FiberNode {
158
} else if (type === REACT_SUSPENSE_TYPE) {
159
fiberTag = SuspenseComponent;
160
} else if (typeof type === 'object' && type.$$typeof === REACT_LAZY_TYPE) {
161
- console.log('element', element);
162
fiberTag = LazyComponent;
163
} else if (typeof type !== 'function' && __DEV__) {
164
console.warn('为定义的type类型', element);
0 commit comments