@@ -113,7 +113,7 @@ export function createHydrationFunctions(
113
113
nextNode = onMismatch ( )
114
114
} else {
115
115
if ( ( node as Text ) . data !== vnode . children ) {
116
- hasMismatch = true ; debugger
116
+ hasMismatch = true
117
117
__DEV__ &&
118
118
warn (
119
119
`Hydration text mismatch:` +
@@ -351,7 +351,7 @@ export function createHydrationFunctions(
351
351
)
352
352
let hasWarned = false
353
353
while ( next ) {
354
- hasMismatch = true ; debugger
354
+ hasMismatch = true
355
355
if ( __DEV__ && ! hasWarned ) {
356
356
warn (
357
357
`Hydration children mismatch in <${ vnode . type as string } >: ` +
@@ -366,7 +366,7 @@ export function createHydrationFunctions(
366
366
}
367
367
} else if ( shapeFlag & ShapeFlags . TEXT_CHILDREN ) {
368
368
if ( el . textContent !== vnode . children ) {
369
- hasMismatch = true ; debugger
369
+ hasMismatch = true
370
370
__DEV__ &&
371
371
warn (
372
372
`Hydration text content mismatch in <${
@@ -411,7 +411,7 @@ export function createHydrationFunctions(
411
411
} else if ( vnode . type === Text && ! vnode . children ) {
412
412
continue
413
413
} else {
414
- hasMismatch = true ; debugger
414
+ hasMismatch = true
415
415
if ( __DEV__ && ! hasWarned ) {
416
416
warn (
417
417
`Hydration children mismatch in <${ container . tagName . toLowerCase ( ) } >: ` +
@@ -465,7 +465,7 @@ export function createHydrationFunctions(
465
465
} else {
466
466
// fragment didn't hydrate successfully, since we didn't get a end anchor
467
467
// back. This should have led to node/children mismatch warnings.
468
- hasMismatch = true ; debugger
468
+ hasMismatch = true
469
469
// since the anchor is missing, we need to create one and insert it
470
470
insert ( ( vnode . anchor = createComment ( `]` ) ) , container , next )
471
471
return next
@@ -480,7 +480,7 @@ export function createHydrationFunctions(
480
480
slotScopeIds : string [ ] | null ,
481
481
isFragment : boolean
482
482
) : Node | null => {
483
- hasMismatch = true ; debugger
483
+ hasMismatch = true
484
484
__DEV__ &&
485
485
warn (
486
486
`Hydration node mismatch:\n- Client vnode:` ,
0 commit comments