@@ -508,7 +508,7 @@ function ChildReconciler(shouldClone, shouldTrackSideEffects) {
508
508
expirationTime : ExpirationTime ,
509
509
) : Fiber | null {
510
510
if ( typeof newChild === 'string' || typeof newChild === 'number' ) {
511
- // Text nodes doesn 't have keys. If the previous node is implicitly keyed
511
+ // Text nodes don 't have keys. If the previous node is implicitly keyed
512
512
// we can continue to replace it without aborting even if it is not a text
513
513
// node.
514
514
const created = createFiberFromText (
@@ -598,7 +598,7 @@ function ChildReconciler(shouldClone, shouldTrackSideEffects) {
598
598
const key = oldFiber !== null ? oldFiber . key : null ;
599
599
600
600
if ( typeof newChild === 'string' || typeof newChild === 'number' ) {
601
- // Text nodes doesn 't have keys. If the previous node is implicitly keyed
601
+ // Text nodes don 't have keys. If the previous node is implicitly keyed
602
602
// we can continue to replace it without aborting even if it is not a text
603
603
// node.
604
604
if ( key !== null ) {
@@ -641,7 +641,7 @@ function ChildReconciler(shouldClone, shouldTrackSideEffects) {
641
641
}
642
642
643
643
case REACT_YIELD_TYPE : {
644
- // Yields doesn 't have keys. If the previous node is implicitly keyed
644
+ // Yields don 't have keys. If the previous node is implicitly keyed
645
645
// we can continue to replace it without aborting even if it is not a
646
646
// yield.
647
647
if ( key === null ) {
@@ -666,7 +666,7 @@ function ChildReconciler(shouldClone, shouldTrackSideEffects) {
666
666
}
667
667
668
668
if ( isArray ( newChild ) || getIteratorFn ( newChild ) ) {
669
- // Fragments doesn 't have keys so if the previous key is implicit we can
669
+ // Fragments don 't have keys so if the previous key is implicit we can
670
670
// update it.
671
671
if ( key !== null ) {
672
672
return null ;
@@ -694,7 +694,7 @@ function ChildReconciler(shouldClone, shouldTrackSideEffects) {
694
694
expirationTime : ExpirationTime ,
695
695
) : Fiber | null {
696
696
if ( typeof newChild === 'string' || typeof newChild === 'number' ) {
697
- // Text nodes doesn 't have keys, so we neither have to check the old nor
697
+ // Text nodes don 't have keys, so we neither have to check the old nor
698
698
// new node for the key. If both are text nodes, they match.
699
699
const matchedFiber = existingChildren . get ( newIdx ) || null ;
700
700
return updateTextNode (
@@ -734,7 +734,7 @@ function ChildReconciler(shouldClone, shouldTrackSideEffects) {
734
734
}
735
735
736
736
case REACT_YIELD_TYPE : {
737
- // Yields doesn 't have keys, so we neither have to check the old nor
737
+ // Yields don 't have keys, so we neither have to check the old nor
738
738
// new node for the key. If both are yields, they match.
739
739
const matchedFiber = existingChildren . get ( newIdx ) || null ;
740
740
return updateYield (
0 commit comments